Skip to content

chore(deps): update golangci/golangci-lint-action action to v6 #1127

chore(deps): update golangci/golangci-lint-action action to v6

chore(deps): update golangci/golangci-lint-action action to v6 #1127

Triggered via push May 7, 2024 01:51
Status Success
Total duration 5m 9s
Artifacts

push_pr.yml

on: push
Run all static analysis checks
1m 5s
Run all static analysis checks
Run unit tests on *Nix
1m 17s
Run unit tests on *Nix
Run unit tests on Windows
2m 7s
Run unit tests on Windows
Build binary for all platforms:arch
4m 58s
Build binary for all platforms:arch
Matrix: Helm chart Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
Run all static analysis checks: internal/pkg/prometheus/metrics.go#L27
don't use `init` function (init)
Run all static analysis checks: cmd/k8s-target-retriever/main.go#L19
don't use `init` function (init)
Run all static analysis checks: internal/integration/metrics.go#L114
don't use `init` function (init)
Run all static analysis checks: internal/integration/fetcher.go#L43
captLocal: `CAFile' should not be capitalized (gocritic)
Run all static analysis checks: internal/integration/fetcher.go#L60
captLocal: `CaFile' should not be capitalized (gocritic)
Run all static analysis checks: internal/integration/fetcher.go#L123
captLocal: `BearerTokenFile' should not be capitalized (gocritic)
Run all static analysis checks: internal/pkg/endpoints/endpoints.go#L93
captLocal: `URL' should not be capitalized (gocritic)
Run all static analysis checks: internal/pkg/endpoints/kubernetes.go#L671
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Run all static analysis checks: internal/pkg/endpoints/kubernetes.go#L711
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Run all static analysis checks: internal/pkg/endpoints/kubernetes_test.go#L458
appendAssign: append result not assigned to the same slice (gocritic)
Helm chart Lint (v1.25.6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Helm chart Lint (v1.26.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run all static analysis checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run all static analysis checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run unit tests on *Nix
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run unit tests on Windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-prometheus\nri-prometheus. Supported file pattern: go.sum
Build binary for all platforms:arch
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build binary for all platforms:arch
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/