chore(deps): update golangci/golangci-lint-action action to v9 #6350
push_pr.yaml
on: push
Matrix: Build integration for
Static analysis and linting
1m 33s
Codespell
16s
Matrix: Helm chart Lint
Run tests
2m 15s
Annotations
10 errors and 5 warnings
|
Static analysis and linting:
internal/storer/storer.go#L90
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"destination argument must be an empty pointer\")" (err113)
|
|
Static analysis and linting:
internal/discovery/namespace_filter.go#L131
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"invalid channel\")" (err113)
|
|
Static analysis and linting:
internal/discovery/endpoints_discoverer_timeout_test.go#L34
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"inner error\")" (err113)
|
|
Static analysis and linting:
internal/discovery/endpoints_discoverer.go#L42
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"client must be configured\")" (err113)
|
|
Static analysis and linting:
internal/config/config.go#L267
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"parsing expression invalid value: %v, type: %T\", val, val)" (err113)
|
|
Static analysis and linting:
src/metric/definition.go#L1524
calculated cyclomatic complexity for function convertValue is 11, max is 10 (cyclop)
|
|
Static analysis and linting:
src/kubelet/metric/metric.go#L298
calculated cyclomatic complexity for function FromRawGroupsEntityTypeGenerator is 11, max is 10 (cyclop)
|
|
Static analysis and linting:
src/controlplane/client/authenticator/authenticator_test.go#L63
response body must be closed (bodyclose)
|
|
Static analysis and linting:
src/controlplane/client/authenticator/authenticator_test.go#L38
response body must be closed (bodyclose)
|
|
Static analysis and linting:
src/controlplane/client/authenticator/authenticator_mtls_test.go#L137
response body must be closed (bodyclose)
|
|
Helm chart Lint (v1.32.0)
No file matched to [/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/pyproject.toml,/home/runner/work/nri-kubernetes/nri-kubernetes/**/uv.lock,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
Helm chart Lint (v1.33.0)
No file matched to [/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/pyproject.toml,/home/runner/work/nri-kubernetes/nri-kubernetes/**/uv.lock,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
Helm chart Lint (v1.30.0)
No file matched to [/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/pyproject.toml,/home/runner/work/nri-kubernetes/nri-kubernetes/**/uv.lock,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
Helm chart Lint (v1.34.0)
No file matched to [/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/pyproject.toml,/home/runner/work/nri-kubernetes/nri-kubernetes/**/uv.lock,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
Helm chart Lint (v1.31.0)
No file matched to [/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*requirements*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.txt,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*constraints*.in,/home/runner/work/nri-kubernetes/nri-kubernetes/**/pyproject.toml,/home/runner/work/nri-kubernetes/nri-kubernetes/**/uv.lock,/home/runner/work/nri-kubernetes/nri-kubernetes/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|