Skip to content

ci(lint): adopt strict golangci-lint config + cross-platform CI gate (#153) #130

ci(lint): adopt strict golangci-lint config + cross-platform CI gate (#153)

ci(lint): adopt strict golangci-lint config + cross-platform CI gate (#153) #130

Triggered via pull request May 10, 2026 13:37
Status Failure
Total duration 2m 29s
Artifacts

pr.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 2 warnings, and 2 notices
lint (ubuntu-latest)
issues found
lint (ubuntu-latest): pkg/commands/root.go#L19
"fmt" imported and not used (typecheck)
test (ubuntu-latest)
Process completed with exit code 1.
test (ubuntu-latest): pkg/commands/root.go#L19
"fmt" imported and not used
coverage
Process completed with exit code 1.
coverage: pkg/commands/root.go#L19
"fmt" imported and not used
test (windows-latest)
Process completed with exit code 1.
test (windows-latest): pkg/commands/root.go#L19
"fmt" imported and not used
lint (windows-latest)
issues found
lint (windows-latest)
\"fmt\" imported and not used"
lint (windows-latest): pkg/engine/helm/files.go#L164
variable name 's' is too short for the scope of its usage (varnamelen)
lint (windows-latest): pkg/age/age.go#L546
variable name 'p' is too short for the scope of its usage (varnamelen)
lint (windows-latest): pkg/engine/helm/files.go#L165
emptyStringTest: replace `len(s) == 0` with `s == ""` (gocritic)
lint (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: golangci/golangci-lint-action@v7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: golangci/golangci-lint-action@v7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest)
NOTICE: windows-2025 requests are being redirected to windows-2025-vs2026 by May 12, 2026
lint (windows-latest)
NOTICE: windows-2025 requests are being redirected to windows-2025-vs2026 by May 12, 2026