Skip to content

ci: bump GitHub Actions to Node 24 majors - #39

Merged
PF9-pushkar merged 1 commit into
mainfrom
pushkar/ci-node24-actions
Aug 11, 2026
Merged

ci: bump GitHub Actions to Node 24 majors#39
PF9-pushkar merged 1 commit into
mainfrom
pushkar/ci-node24-actions

Conversation

@PF9-pushkar

Copy link
Copy Markdown
Collaborator

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.

Action Before After
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

Why

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.0 release). This clears those warnings before the runtime is removed outright.

Each target major was verified to declare using: node24 in its action.yml.

Compatibility

No behavior change expected:

  • golangci-lint-action v8+ only adds the requirement golangci-lint >= v2.1.0; we pin v2.12.2, so it's satisfied. The version input is unchanged in v9.
  • setup-terraform v4 keeps the terraform_wrapper input we rely on.
  • release.yml remains in sync with test.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.

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.
@PF9-pushkar
PF9-pushkar merged commit c8a5f8b into main Aug 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant