Skip to content

ci: bump GitHub Actions to Node 24 majors#361

Merged
dpup merged 1 commit into
mainfrom
ci/actions-node24
May 26, 2026
Merged

ci: bump GitHub Actions to Node 24 majors#361
dpup merged 1 commit into
mainfrom
ci/actions-node24

Conversation

@dpup
Copy link
Copy Markdown
Collaborator

@dpup dpup commented May 25, 2026

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.

Action From To
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

All targets confirmed to declare runs.using: node24 (checked each action.yml). Inputs are unchanged and still supported (go-version-file/cache, goreleaser version/args, codecov files, upload-artifact name/path).

Notes:

  • golangci-lint-action jumps v7 → v9: v8 is still Node 20, so v9 is the minimum Node-24 major. v9 keeps the version input, so golangci-lint stays pinned to v2.8.0 — the CI Lint job here validates that.
  • bats-core/bats-action and anthropics/claude-code-action are composite actions (not Node-20 JS actions), so they're left as-is.
  • goreleaser-action@v7 is only exercised by release.yml, which runs on tag push — not by this PR's CI. It'll first run for real on the next release tag.

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.
@dpup dpup merged commit ed74bcd into main May 26, 2026
3 of 4 checks passed
@dpup dpup deleted the ci/actions-node24 branch May 26, 2026 03:41
@dpup dpup mentioned this pull request Jun 1, 2026
2 tasks
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