Skip to content

Feat/add GitHub ci

Feat/add GitHub ci #4

Triggered via pull request December 6, 2024 08:19
Status Failure
Total duration 1m 11s
Artifacts 1

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
go-staticcheck: example/runner/runner.go#L48
error strings should not be capitalized (ST1005)
go-staticcheck: example/runner/runner.go#L92
redundant return statement (S1023)
go-staticcheck: service.go#L151
error strings should not end with punctuation or newlines (ST1005)
go-staticcheck: service.go#L153
error strings should not be capitalized (ST1005)
go-staticcheck: service.go#L153
error strings should not end with punctuation or newlines (ST1005)
go-staticcheck: service.go#L271
func KeyValue.float64 is unused (U1000)
go-staticcheck: service.go#L310
should omit comparison to bool constant, can be simplified to !choice.Detect() (S1002)
go-staticcheck: service.go#L454
error strings should not be capitalized (ST1005)
go-staticcheck: service.go#L457
error strings should not be capitalized (ST1005)
go-staticcheck: service_linux.go#L11
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
golangci-lint: service_openrc_linux.go#L28
Error return value of `buf.ReadFrom` is not checked (errcheck)
golangci-lint: service_rcs_linux.go#L42
Error return value of `buf.ReadFrom` is not checked (errcheck)
golangci-lint: service_systemd_linux.go#L37
Error return value of `buf.ReadFrom` is not checked (errcheck)
golangci-lint: example/simple/main.go#L49
Error return value of `logger.Error` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L59
Error return value of `logger.Info` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L62
Error return value of `p.Stop` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L64
Error return value of `p.service.Stop` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L71
Error return value of `logger.Warningf` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L80
Error return value of `logger.Warningf` is not checked (errcheck)
golangci-lint: example/runner/runner.go#L89
Error return value of `logger.Warningf` is not checked (errcheck)
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