ci: bump GitHub Actions to Node 24 majors - #8
Merged
Merged
Conversation
Every CI job warned that actions/checkout@v4, actions/setup-go@v5, and golangci/golangci-lint-action@v7 target Node 20 and were being forced onto Node 24. GitHub removes Node 20 from runners on 2026-09-23. Bumps each action to its latest major, all of which run on Node 24: - actions/checkout v4 -> v7 - actions/setup-go v5 -> v7 - golangci/golangci-lint-action v7 -> v9 (v8+ needs golangci-lint >= v2.1; CI pins v2.7.2) - goreleaser/goreleaser-action v6 -> v7 Also sets release.yaml's go-version from 1.23 to 1.25 to match go.mod and ci.yaml. Releases previously built only because Go auto-downloaded the newer toolchain, and setup-go v6 changed toolchain selection. release.yaml only runs on v* tags, so this PR's CI does not exercise the goreleaser or release setup-go changes; the next release will. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Every CI job has been warning that
actions/checkout@v4,actions/setup-go@v5, andgolangci/golangci-lint-action@v7target Node 20 and are being forced onto Node 24. GitHub removes Node 20 from runners on 2026-09-23. The jobs work under forced Node 24 today; this moves to majors that declare Node 24 themselves.What changed
actions/checkoutpull_request_target/workflow_run— not used hereactions/setup-gogolangci/golangci-lint-actiongoreleaser/goreleaser-actionrelease.yamlalso hadgo-version: "1.23"whilego.modrequires 1.25. Releases built only because Go auto-downloaded the newer toolchain — the behavior setup-go v6 reworked — so it's now"1.25", matchingci.yaml.Not verified by this PR
release.yamlruns only onv*tag pushes, so the goreleaser-action and release-side setup-go changes won't run until the next release. A throwaway pre-release tag would exercise them sooner.CI on this PR passed with no Node 20 deprecation warnings in any job; lint (v9) ran against
mainafter #7 and reported 0 issues.🤖 Generated with Claude Code