Skip to content

ci: bump actions/checkout v4→v6 and setup-go v5→v6 (Node 24)#41

Merged
jklaassenjc merged 1 commit into
mainfrom
juergen/node-24-action-bumps
Jun 5, 2026
Merged

ci: bump actions/checkout v4→v6 and setup-go v5→v6 (Node 24)#41
jklaassenjc merged 1 commit into
mainfrom
juergen/node-24-action-bumps

Conversation

@jklaassenjc

@jklaassenjc jklaassenjc commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

GitHub Actions forces Node.js 20 actions to Node 24 on 2026-06-16. The deprecation warning has been firing on every release run since 1.16.0. Both actions we use have v6 majors that run on Node 24 natively:

Action Current New Node 24 evidence
actions/checkout @v4 @v6 (latest v6.0.3, 2026-06-02) v6.0.0 release notes: "Update README to include Node.js 24 support details"
actions/setup-go @v5 @v6 (latest v6.4.0, 2026-03-30) v6.0.0 release notes (Breaking): "Upgrade Nodejs runtime from node20 to node 24"

Other v6 changes to be aware of

  • setup-go@v6 also has a breaking-change toolchain-handling rework (Improve toolchain handling actions/setup-go#460). Our usage (go-version-file: go.mod) is the simple path and isn't affected.
  • setup-go@v6 requires runner v2.327.1+; GitHub-hosted ubuntu-latest is well past that.

Why now

Bumping ahead of the 2026-06-16 cutover so the release workflow keeps working through the transition without depending on the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 or ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION escape hatches.

Test plan

  • Single 2-line change in .github/workflows/release.yml
  • No other workflow file uses these actions (pr-labels.yml doesn't checkout)
  • On merge, the release workflow runs against the new action versions and tags 1.17.3 cleanly

🤖 Generated with Claude Code


Note

Low Risk
Two-line CI dependency bumps with unchanged inputs; no application or auth logic touched.

Overview
Updates the Release job in .github/workflows/release.yml so checkout and Go setup use Node 24–compatible action majors ahead of GitHub’s Node 20 deprecation.

actions/checkout moves from @v4 to @v6, and actions/setup-go from @v5 to @v6. Step inputs are unchanged (merge_commit_sha, fetch-depth: 0, and go-version-file: go.mod). This is the only workflow in the repo that references these actions.

Reviewed by Cursor Bugbot for commit 33cfc80. Bugbot is set up for automated code reviews on this repo. Configure here.

GitHub Actions forces Node.js 20 actions to Node 24 on 2026-06-16.
Both actions we use have v6 majors that run on Node 24 natively:

- actions/checkout v6.0.0 (2025-08-26, v6.0.3 latest 2026-06-02):
  Node.js 24 support per the v6 release notes.
- actions/setup-go v6.0.0 (2025-09-22, v6.4.0 latest 2026-03-30):
  Explicit "Upgrade Nodejs runtime from node20 to node 24" breaking
  change. Also requires runner v2.327.1+; GitHub-hosted ubuntu-latest
  is well past that.

Our usage is the simple path (go-version-file: go.mod on setup-go,
default checkout otherwise) so neither v6's other breaking changes
apply here. Bumping ahead of the 2026-06-16 cutover so the release
workflow keeps working through the transition without depending on
the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 or
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION escape hatches.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgithub/​actions/​setup-go@​4a3601121dd01d1626a1e23e37211e3254c1c06c99100100100100
Updatedgithub/​actions/​checkout@​34e114876b0b11c390a56381ad16ebd13914f8d5 ⏵ de0fac2e4500dabe0009e67214ff5f5447ce83dd100 +1100100100100

View full report

@jklaassenjc jklaassenjc merged commit c63c398 into main Jun 5, 2026
7 of 8 checks passed
@jklaassenjc jklaassenjc deleted the juergen/node-24-action-bumps branch June 5, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants