Skip to content

chore(deps): bump golangci-lint to v2.1.2 #13687

chore(deps): bump golangci-lint to v2.1.2

chore(deps): bump golangci-lint to v2.1.2 #13687

Triggered via pull request April 23, 2025 06:00
Status Failure
Total duration 19m 8s
Artifacts

test.yaml

on: pull_request
Integration Test
11m 33s
Integration Test
K8s Integration Test
6m 34s
K8s Integration Test
Module Integration Test
5m 3s
Module Integration Test
VM Integration Test
8m 55s
VM Integration Test
Matrix: Build Test
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Test (ubuntu-latest)
Process completed with exit code 1.
Test (ubuntu-latest): pkg/iac/terraform/module.go#L111
string `each` has 3 occurrences, make it a constant (goconst)
Test (ubuntu-latest): pkg/iac/scanners/terraform/parser/option.go#L25
importShadow: shadow of imported from 'github.com/aquasecurity/trivy/pkg/log' package 'log' (gocritic)
Test (ubuntu-latest): pkg/fanal/analyzer/analyzer.go#L42
exported: type name will be used as analyzer.AnalyzerOptions by other packages, and that stutters; consider calling this Options (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/analyzer.go#L130
exported: type name will be used as analyzer.AnalyzerGroup by other packages, and that stutters; consider calling this Group (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/analyzer.go#L238
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/analyzer.go#L261
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/fs.go#L35
unused-parameter: parameter 'info' seems to be unused, consider removing or renaming it as _ (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/language/c/conan/conan.go#L47
unused-parameter: parameter 'filePath' seems to be unused, consider removing or renaming it as _ (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/language/c/conan/conan.go#L95
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/language/c/conan/conan.go#L100
unused-parameter: parameter 'filePath' seems to be unused, consider removing or renaming it as _ (revive)
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)
The operation was canceled.