Skip to content

fix: include packages unless it is not needed #10533

fix: include packages unless it is not needed

fix: include packages unless it is not needed #10533

Triggered via pull request May 28, 2024 06:28
Status Failure
Total duration 6m 25s
Artifacts

test.yaml

on: pull_request
Integration Test
4m 20s
Integration Test
K8s Integration Test
6m 2s
K8s Integration Test
Module Integration Test
2m 20s
Module Integration Test
VM Integration Test
1m 15s
VM Integration Test
Matrix: Build Test
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

29 errors
VM Integration Test: pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
VM Integration Test
Process completed with exit code 1.
Build Test (macos-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
Build Test (macos-latest)
The process '/Users/runner/hostedtoolcache/goreleaser-action/1.20.0/arm64/goreleaser' failed with exit code 1
Build Test (windows-latest)
The job was canceled because "macos-latest" failed.
Build Test (windows-latest)
The operation was canceled.
Build Test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Module Integration Test: pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
Module Integration Test
Process completed with exit code 1.
Integration Test: pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
Integration Test
Process completed with exit code 1.
Test (ubuntu-latest)
Process completed with exit code 1.
Test (ubuntu-latest): pkg/commands/operation/operation.go#L21
could not import github.com/aquasecurity/trivy/pkg/flag (-: # github.com/aquasecurity/trivy/pkg/flag
Test (ubuntu-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)) (typecheck)
Test (ubuntu-latest): pkg/cloud/aws/scanner/scanner.go#L13
could not import github.com/aquasecurity/trivy/pkg/flag (-: # github.com/aquasecurity/trivy/pkg/flag
Test (ubuntu-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)) (typecheck)
Test (ubuntu-latest): pkg/commands/convert/run.go#L11
could not import github.com/aquasecurity/trivy/pkg/flag (-: # github.com/aquasecurity/trivy/pkg/flag
Test (ubuntu-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)) (typecheck)
Test (ubuntu-latest): pkg/commands/server/run.go#L10
could not import github.com/aquasecurity/trivy/pkg/flag (-: # github.com/aquasecurity/trivy/pkg/flag
Test (ubuntu-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)) (typecheck)
Test (ubuntu-latest): pkg/k8s/commands/cluster.go#L11
could not import github.com/aquasecurity/trivy/pkg/flag (-: # github.com/aquasecurity/trivy/pkg/flag
Test (ubuntu-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)) (typecheck)
K8s Integration Test: pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
K8s Integration Test
Process completed with exit code 1.
Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Test (windows-latest)
The operation was canceled.
Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
Test (macos-latest): pkg/flag/options.go#L395
o.listAllPkgs undefined (type *Options has no field or method listAllPkgs, but does have ListAllPkgs)
Test (macos-latest)
The operation was canceled.