Skip to content

github: add golangci-lint in the sanity CI job #1

github: add golangci-lint in the sanity CI job

github: add golangci-lint in the sanity CI job #1

Triggered via push January 10, 2024 19:20
Status Failure
Total duration 46s
Artifacts

sanity.yml

on: push
Run tests
31s
Run tests
Matrix: Run go sanity tools
Matrix: Build / Crossbuild Binaries
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L72
Error return value is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L110
Error return value of `c.refresh` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L227
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L334
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L346
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache.go#L538
Error return value is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/registry.go#L131
Error return value of `reg.Configure` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/registry.go#L132
Error return value of `reg.Refresh` is not checked (errcheck)
Run go sanity tools (windows, amd64): pkg/cdi/cache_test.go#L721
S1005: unnecessary assignment to the blank identifier (gosimple)
Run go sanity tools (windows, amd64): pkg/cdi/cache_test.go#L751
S1005: unnecessary assignment to the blank identifier (gosimple)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L72
Error return value is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L110
Error return value of `c.refresh` is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L227
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L334
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L346
Error return value of `c.refreshIfRequired` is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/cache.go#L538
Error return value is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/registry.go#L131
Error return value of `reg.Configure` is not checked (errcheck)
Run go sanity tools (linux, amd64): pkg/cdi/registry.go#L132
Error return value of `reg.Refresh` is not checked (errcheck)
Run go sanity tools (linux, amd64): schema/schema.go#L138
S1003: should use !strings.Contains(source, "://") instead (gosimple)
Run go sanity tools (linux, amd64): pkg/cdi/cache_test.go#L721
S1005: unnecessary assignment to the blank identifier (gosimple)