Skip to content

Feat/add GitHub ci

Feat/add GitHub ci #6

Triggered via pull request December 6, 2024 10:39
Status Failure
Total duration 1m 0s
Artifacts 1

linter.yml

on: pull_request
go-staticcheck
24s
go-staticcheck
go-vet
14s
go-vet
golangci-lint
49s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
go-staticcheck: service.go#L152
error strings should not end with punctuation or newlines (ST1005)
go-staticcheck: service.go#L154
error strings should not be capitalized (ST1005)
go-staticcheck: service.go#L154
error strings should not end with punctuation or newlines (ST1005)
go-staticcheck: service.go#L274
func KeyValue.float64 is unused (U1000)
go-staticcheck: service.go#L463
error strings should not be capitalized (ST1005)
go-staticcheck: service.go#L466
error strings should not be capitalized (ST1005)
go-staticcheck: service_openrc_linux.go#L91
error strings should not be capitalized (ST1005)
go-staticcheck: service_rcs_linux.go#L75
error strings should not be capitalized (ST1005)
go-staticcheck: service_rcs_linux.go#L75
error strings should not end with punctuation or newlines (ST1005)
go-staticcheck: service_rcs_linux.go#L101
error strings should not be capitalized (ST1005)
golangci-lint: service.go#L241
`(KeyValue).bool` - `defaultValue` always receives `false` (unparam)
golangci-lint: service.go#L285
`(KeyValue).funcSingle` - `name` always receives `optionRunWait` (`"RunWait"`) (unparam)
golangci-lint: service_openrc_linux.go#L174
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint: service_unix.go#L137
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint
Process completed with exit code 1.
go-vet
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-staticcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "go-vet-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
go-vet-results
0 Bytes