Skip to content

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

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

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

Triggered via pull request April 23, 2025 06:31
Status Failure
Total duration 20m 11s
Artifacts

test.yaml

on: pull_request
Integration Test
11m 20s
Integration Test
K8s Integration Test
5m 58s
K8s Integration Test
Module Integration Test
5m 15s
Module Integration Test
VM Integration Test
8m 53s
VM Integration Test
Matrix: Build Test
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Test (ubuntu-latest)
Process completed with exit code 1.
Test (ubuntu-latest): internal/testutil/docker.go#L25
context-as-argument: context.Context should be the first parameter of a function (revive)
Test (ubuntu-latest): internal/testutil/docker.go#L51
context-as-argument: context.Context should be the first parameter of a function (revive)
Test (ubuntu-latest): pkg/commands/artifact/run.go#L51
error-naming: error var SkipScan should have name of the form ErrFoo (revive)
Test (ubuntu-latest): pkg/commands/convert/run.go#L83
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Test (ubuntu-latest): pkg/dependency/parser/julia/manifest/naive_pkg_parser.go#L30
var-declaration: should omit type minPkg from declaration of var currentPkg; it will be inferred from the right-hand side (revive)
Test (ubuntu-latest): pkg/dependency/parser/nodejs/yarn/parse.go#L224
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
Test (ubuntu-latest): pkg/dependency/parser/rust/cargo/naive_pkg_parser.go#L31
var-declaration: should omit type minPkg from declaration of var currentPkg; it will be inferred from the right-hand side (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/all/import.go#L4
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/config/all/import.go#L4
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
Test (ubuntu-latest): pkg/fanal/analyzer/language/golang/mod/mod.go#L173
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Test (windows-latest)
The operation was canceled.