Skip to content

chore: complete Node 24 migration for GitHub Actions#996

Merged
karolpiotrowicz merged 1 commit into
mainfrom
chore/finish-node24-actions-migration
Jun 10, 2026
Merged

chore: complete Node 24 migration for GitHub Actions#996
karolpiotrowicz merged 1 commit into
mainfrom
chore/finish-node24-actions-migration

Conversation

@karolpiotrowicz

Copy link
Copy Markdown
Contributor

Summary

Finishes migrating CI off the deprecated Node 20 actions runtime. GitHub forces JavaScript actions to Node 24 starting June 16, 2026 and removes Node 20 from runners on Sept 16, 2026, so anything still declaring Node 20 currently emits a deprecation warning and will eventually break.

An earlier pass bumped actions/checkout to v6, but three references were left on Node 20 — two of them indirect, which is why they were easy to miss:

Action Where Was Now Runtime
actions/setup-go .github/actions/setup composite v5.5.0 v6.4.0 Node 20 → 24
actions/cache .github/actions/setup composite v4.2.3 v5.0.5 Node 20 → 24
golang/govulncheck-action nightly.yml vulncheck job v1.0.4 master HEAD Node 20 → 24

Notes

  • actions/setup-go only switched to Node 24 in v6.2.0 (v5.x and even v6.0.0/v6.1.0 are still Node 20), so the composite action affected every job that uses it (test, lint, nightly test).
  • golang/govulncheck-action's latest tagged release (v1.0.4) internally pins actions/checkout@v4.1.1 and actions/setup-go@v5.0.0 (Node 20). Its default branch already uses Node 24 actions but hasn't been tagged, so it's pinned to the master commit with an inline TODO to re-pin to a proper tag once upstream cuts a release past v1.0.4.
  • All SHAs are full-length pinned with version comments, matching the repo's existing convention.

Verification

  • Both edited YAML files parse cleanly.
  • Verified each new pinned SHA declares using: node24 in its action.yml (and that govulncheck-action's master uses checkout v6.0.2 + setup-go v6.2.0 internally).
Bump the remaining actions still on the deprecated Node 20 runtime:
- actions/setup-go v5.5.0 -> v6.4.0 (shared setup composite)
- actions/cache v4.2.3 -> v5.0.5 (shared setup composite)
- golang/govulncheck-action v1.0.4 -> master HEAD

setup-go only moved to Node 24 in v6.2.0, so v5.5.0 was still Node 20. The
govulncheck-action latest release (v1.0.4) internally pins
actions/checkout@v4.1.1 and actions/setup-go@v5.0.0 (Node 20); its master
branch already uses Node 24 actions but has not been tagged, so it is pinned to
master HEAD with a TODO to re-pin once a release past v1.0.4 is cut.

A previous pass only bumped actions/checkout, leaving these behind.
@karolpiotrowicz karolpiotrowicz merged commit 38b11f7 into main Jun 10, 2026
8 checks passed
newtonnthiga pushed a commit to alis-exchange/adk-go that referenced this pull request Jun 11, 2026
Bump the remaining actions still on the deprecated Node 20 runtime:
- actions/setup-go v5.5.0 -> v6.4.0 (shared setup composite)
- actions/cache v4.2.3 -> v5.0.5 (shared setup composite)
- golang/govulncheck-action v1.0.4 -> master HEAD

setup-go only moved to Node 24 in v6.2.0, so v5.5.0 was still Node 20. The
govulncheck-action latest release (v1.0.4) internally pins
actions/checkout@v4.1.1 and actions/setup-go@v5.0.0 (Node 20); its master
branch already uses Node 24 actions but has not been tagged, so it is pinned to
master HEAD with a TODO to re-pin once a release past v1.0.4 is cut.

A previous pass only bumped actions/checkout, leaving these behind.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants