Skip to content

Feat/add GitHub ci

Feat/add GitHub ci #3

Triggered via pull request December 6, 2024 08:18
Status Failure
Total duration 39s
Artifacts 1

linter.yml

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

Annotations

11 errors and 4 warnings
golangci-lint
Process completed with exit code 1.
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
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