feat: Use osv-scalibr to perform container scanning #3211
checks.yml
on: pull_request
prepare_test_image_fixtures
10s
ensure_snapshots_are_being_cleaned
4s
prettier
9s
golangci-lint
1m 44s
Matrix: Run unit tests
Annotations
11 errors and 3 warnings
prepare_test_image_fixtures
Process completed with exit code 1.
|
golangci-lint:
internal/ci/utility.go#L17
the given struct should be annotated with the `json` tag (musttag)
|
golangci-lint:
internal/clients/clientimpl/baseimagematcher/baseimagematcher.go#L47
error is not nil (line 46) but it returns nil (nilerr)
|
golangci-lint:
internal/clients/clientimpl/baseimagematcher/baseimagematcher.go#L50
response body must be closed (bodyclose)
|
golangci-lint:
internal/scalibrextract/language/osv/osvscannerjson/extractor.go#L38
the given struct should be annotated with the `json` tag (musttag)
|
golangci-lint:
pkg/lockfile/osv-vuln-results.go#L24
the given struct should be annotated with the `json` tag (musttag)
|
golangci-lint:
pkg/models/results.go#L193
bad syntax for struct tag value (tagalign)
|
golangci-lint:
pkg/osvscanner/internal/imagehelpers/imagehelpers.go#L19
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/osvscanner/osvscanner.go#L275
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
pkg/osvscanner/osvscanner.go#L299
Error return value of `img.CleanUp` is not checked (errcheck)
|
golangci-lint
issues found
|
ensure_snapshots_are_being_cleaned
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prepare_test_image_fixtures
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|