chore: explicit revive rules #12882
test.yaml
on: pull_request
Integration Test
11m 8s
K8s Integration Test
5m 25s
Module Integration Test
4m 36s
VM Integration Test
8m 22s
Matrix: Build Test
Matrix: Test
Annotations
15 errors and 6 warnings
Test (ubuntu-latest)
Process completed with exit code 1.
|
Test (ubuntu-latest):
pkg/oci/artifact.go#L136
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):
pkg/iac/scanners/helm/parser/vals.go#L111
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Test (ubuntu-latest):
pkg/iac/scanners/helm/scanner.go#L106
context-as-argument: context.Context should be the first parameter of a function (revive)
|
Test (ubuntu-latest):
pkg/misconf/scanner.go#L37
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/analyzer.go#L219
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#L242
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/os/debian/debian_test.go#L65
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/os/ubuntu/ubuntu_test.go#L51
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/os/amazonlinux/amazonlinux_test.go#L101
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/os/redhatbase/redhatbase_test.go#L51
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (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.
|
Module Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
K8s Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
VM Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build Test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|