github: add golangci-lint in the sanity CI job #520
Annotations
20 errors and 1 warning
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):
schema/schema.go#L138
S1003: should use !strings.Contains(source, "://") instead (gosimple)
|
Run go sanity tools (windows, amd64):
pkg/cdi/cache_test.go#L721
S1005: unnecessary assignment to the blank identifier (gosimple)
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Cannot open: File exists
|
Run go sanity tools (linux, amd64)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|