Skip to content

refactor: switch to staticcheck #471

refactor: switch to staticcheck

refactor: switch to staticcheck #471

Triggered via push October 7, 2024 22:44
Status Failure
Total duration 1m 39s
Artifacts

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
ubuntu-latest @ Go 1.21: ksops.go#L15
"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)
ubuntu-latest @ Go 1.21: ksops_test.go#L8
"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)
ubuntu-latest @ Go 1.21: ksops_test.go#L36
should use !bytes.Equal(want, got) instead (S1004)
ubuntu-latest @ Go 1.21
Process completed with exit code 2.