ci: bump GitHub Actions to Node 24 majors - #39
Merged
Conversation
GitHub is deprecating the Node 20 runtime and force-running Node-20 actions on Node 24. Bump every affected action to the major that natively targets Node 24 to clear the deprecation warnings on both workflows: - actions/checkout v4 -> v5 - actions/setup-go v5 -> v6 - crazy-max/ghaction-import-gpg v6 -> v7 - goreleaser/goreleaser-action v6 -> v7 - golangci/golangci-lint-action v7 -> v9 - hashicorp/setup-terraform v3 -> v4 No behavior change: golangci-lint-action v8+ only requires golangci-lint >= v2.1.0 (we pin v2.12.2), and setup-terraform v4 keeps terraform_wrapper. release.yml stays in sync with test.yml's pinned versions.
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.
What
Bumps every GitHub Action that still targets the deprecated Node 20 runtime to the major version that natively runs on Node 24, across both workflows.
actions/checkoutactions/setup-gocrazy-max/ghaction-import-gpggoreleaser/goreleaser-actiongolangci/golangci-lint-actionhashicorp/setup-terraformWhy
GitHub is deprecating the Node 20 runtime and currently force-runs Node-20 actions on Node 24, emitting a warning on every run (including the just-published
v0.1.0release). This clears those warnings before the runtime is removed outright.Each target major was verified to declare
using: node24in itsaction.yml.Compatibility
No behavior change expected:
golangci-lint >= v2.1.0; we pinv2.12.2, so it's satisfied. Theversioninput is unchanged in v9.terraform_wrapperinput we rely on.release.ymlremains in sync withtest.yml's pinned versions (per RELEASING.md).Test workflow (
build/vet/fmt/unit,golangci-lint,docs generate,goreleaser check,terraform fmt) exercises all of these on this PR.