Skip to content

Linter PR 3: enable additional linters #455

Linter PR 3: enable additional linters

Linter PR 3: enable additional linters #455

Triggered via pull request January 2, 2025 18:20
Status Failure
Total duration 2m 54s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/api/iterator.go#L53
Error return value of `iter.Close` is not checked (errcheck)
lint: internal/api/lib.go#L86
Error return value of `cache.lockfile.Close` is not checked (errcheck)
lint: internal/api/lib_test.go#L37
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L57
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L93
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L140
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L141
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L142
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L183
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib_test.go#L213
Error return value of `os.RemoveAll` is not checked (errcheck)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636