ci: bump GitHub Actions to Node 24 majors#361
Merged
Merged
Conversation
Node 20 is being forced off GitHub Actions runners (June 2 2026), and the release run flagged the deprecation. Bump the Node-20 JavaScript actions to their first/current Node-24 majors: - actions/checkout v4 -> v6 - actions/setup-go v5 -> v6 - goreleaser/goreleaser-action v6 -> v7 - codecov/codecov-action v4 -> v6 - actions/upload-artifact v4 -> v7 - docker/login-action v3 -> v4 - golangci/golangci-lint-action v7 -> v9 (v8 is still Node 20; v9 keeps the 'version' input, so golangci-lint stays pinned to v2.8.0) bats-core/bats-action and anthropics/claude-code-action are composite actions (not affected) and are left unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub is forcing Node 20 actions onto Node 24 on June 2, 2026 and removing Node 20 from runners on Sept 16 — the v0.5.3 release run flagged the deprecation. This bumps every Node-20 JavaScript action we use to its current Node-24 major.
actions/checkoutactions/setup-gogoreleaser/goreleaser-actioncodecov/codecov-actionactions/upload-artifactdocker/login-actiongolangci/golangci-lint-actionAll targets confirmed to declare
runs.using: node24(checked each action.yml). Inputs are unchanged and still supported (go-version-file/cache, goreleaserversion/args, codecovfiles, upload-artifactname/path).Notes:
golangci-lint-actionjumps v7 → v9: v8 is still Node 20, so v9 is the minimum Node-24 major. v9 keeps theversioninput, so golangci-lint stays pinned tov2.8.0— the CI Lint job here validates that.bats-core/bats-actionandanthropics/claude-code-actionare composite actions (not Node-20 JS actions), so they're left as-is.goreleaser-action@v7is only exercised byrelease.yml, which runs on tag push — not by this PR's CI. It'll first run for real on the next release tag.