chore(deps): bump golangci-lint to v2.1.2 #13690
test.yaml
on: pull_request
Integration Test
11m 20s
K8s Integration Test
5m 58s
Module Integration Test
5m 15s
VM Integration Test
8m 53s
Matrix: Build Test
Matrix: Test
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.
|