Skip to content

chore(deps): bump github.com/anchore/grype from 0.85.0 to 0.86.0 #52

chore(deps): bump github.com/anchore/grype from 0.85.0 to 0.86.0

chore(deps): bump github.com/anchore/grype from 0.85.0 to 0.86.0 #52

Triggered via pull request December 9, 2024 23:22
Status Failure
Total duration 3m 55s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci: internal/dao/img_scan.go#L13
could not import github.com/derailed/k9s/internal/vul (-: # github.com/derailed/k9s/internal/vul
golangci: internal/vul/scanner.go#L45
undefined: db.Closer
golangci: internal/vul/scanner.go#L93
assignment mismatch: 4 variables but grype.LoadVulnerabilityDB returns 3 values
golangci: internal/vul/scanner.go#L94
cannot use s.opts.DB.ToCuratorConfig() (value of type installation.Config) as "github.com/anchore/grype/grype/db/legacy/distribution".Config value in argument to grype.LoadVulnerabilityDB
golangci: internal/vul/scan.go#L62
invalid case grypeDB.WontFixState in switch on m.Vulnerability.Fix.State (mismatched types v5.FixState and vulnerability.FixState)
golangci: internal/vul/scan.go#L64
invalid case grypeDB.UnknownFixState in switch on m.Vulnerability.Fix.State (mismatched types v5.FixState and vulnerability.FixState)) (typecheck)
golangci: internal/model/pulse_health.go#L16
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used (typecheck)
golangci: internal/model/hint_test.go#L24
missing type in composite literal (typecheck)
golangci: internal/model/hint_test.go#L25
missing type in composite literal (typecheck)
golangci: internal/render/helpers.go#L14
could not import github.com/derailed/k9s/internal/vul (-: # github.com/derailed/k9s/internal/vul
golangci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci
Unexpected input(s) 'github_token', 'reporter', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
golangci
Unexpected input(s) 'github_token', 'reporter', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']