Skip to content

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

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

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

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

test.yaml

on: pull_request
Integration Test
11m 3s
Integration Test
K8s Integration Test
6m 0s
K8s Integration Test
Module Integration Test
5m 13s
Module Integration Test
VM Integration Test
8m 37s
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): magefiles/magefile.go#L48
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Test (ubuntu-latest): magefiles/magefile.go#L451
var-naming: method Css should be CSS (revive)
Test (ubuntu-latest): magefiles/magefile.go#L455
var-naming: var homepageCss should be homepageCSS (revive)
Test (ubuntu-latest): pkg/dependency/parser/c/conan/parse.go#L131
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Test (ubuntu-latest): pkg/dependency/parser/dotnet/core_deps/parse.go#L1
var-naming: don't use an underscore in package name (revive)
Test (ubuntu-latest): pkg/dependency/parser/dotnet/core_deps/parse_test.go#L1
var-naming: don't use an underscore in package name (revive)
Test (ubuntu-latest): pkg/dependency/parser/java/jar/parse.go#L305
var-naming: struct field implementationVendorId should be implementationVendorID (revive)
Test (ubuntu-latest): pkg/dependency/parser/java/jar/sonatype/sonatype.go#L20
var-naming: const artifactIdQuery should be artifactIDQuery (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.