Skip to content

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

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

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

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

pr.yml

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

Annotations

10 errors, 3 warnings, and 2 notices
lint (ubuntu-latest)
issues found
lint (ubuntu-latest): pkg/commands/template.go#L549
missing whitespace above this line (no shared variables above range) (wsl_v5)
lint (ubuntu-latest): pkg/engine/helm/files.go#L164
variable name 's' is too short for the scope of its usage (varnamelen)
lint (ubuntu-latest): pkg/age/age.go#L546
variable name 'p' is too short for the scope of its usage (varnamelen)
lint (ubuntu-latest): pkg/engine/helm/files.go#L165
emptyStringTest: replace `len(s) == 0` with `s == ""` (gocritic)
lint (windows-latest)
issues found
lint (windows-latest): pkg/commands/template.go#L549
missing whitespace above this line (no shared variables above range) (wsl_v5)
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/
coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@v4. 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

Artifacts

Produced during runtime
Name Size Digest
coverage-profile
18.4 KB
sha256:37a56b5c88861063270c88789dbffdba8abe84727bd75dc45e92d17ee0c599fd