Skip to content

Use lint action compatible with golangci-lint v2 #27

Use lint action compatible with golangci-lint v2

Use lint action compatible with golangci-lint v2 #27

Triggered via push April 28, 2026 16:48
Status Failure
Total duration 47s
Artifacts

ci.yml

on: push
Build & Test
43s
Build & Test
Lint
17s
Lint
Validate GoReleaser
18s
Validate GoReleaser
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
Lint
invalid version string 'v2.11.4', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7.
Lint
Failed to run: Error: invalid version string 'v2.11.4', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7., Error: invalid version string 'v2.11.4', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7. at parseVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93219:15) at getRequestedVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93269:36) at getVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93307:24) at install (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:92510:56) at prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:92827:49) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v6. 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/
Validate GoReleaser
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, goreleaser/goreleaser-action@v6. 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/
Build & Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. 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/