ci: bump GitHub Actions to Node 24-compatible majors#5003
Merged
Conversation
GitHub is migrating runners from Node.js 20 to Node.js 24 (forced June 2 2026, Node 20 removed September 16 2026). Workflows were emitting deprecation warnings on `actions/checkout@v4`, `actions/setup-python@v5`, `docker/login-action@v3`, and `docker/setup-buildx-action@v3`, each of which has a Node-24 successor major. Changes: - actions/checkout v2/v3/v4 -> v5 - actions/setup-python v4/v5 -> v6 - docker/login-action v2/v3 -> v4 - docker/setup-buildx-action v3 -> v4 Also bumps versions actionlint flags as "too old to run on GitHub Actions" to match the rest of the repo: - google-github-actions/setup-gcloud v1 -> v2 - google-github-actions/auth v1 -> v2 - actions/cache v3 -> v4 `actions/checkout@v6` in claude-review.yml is left alone (already past v5).
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.
Summary
marin-canary-ferry-cwrun I manually triggered — emit deprecation warnings onactions/checkout@v4,actions/setup-python@v5,docker/login-action@v3, anddocker/setup-buildx-action@v3. Each has a Node-24 successor major, so I bumped them:actions/checkoutv2/v3/v4 → v5actions/setup-pythonv4/v5 → v6docker/login-actionv2/v3 → v4docker/setup-buildx-actionv3 → v4actionlintflags as "too old to run on GitHub Actions" (Node-16-era) to match the majors already used elsewhere in the repo:google-github-actions/setup-gcloudv1 → v2google-github-actions/authv1 → v2actions/cachev3 → v4actions/checkout@v6inclaude-review.ymlwas left alone (already past v5).Not touched
actions/cache@v4,actions/upload-artifact@v4,actions/download-artifact@v4,actions/setup-node@v4,actions/github-script@v7— these are still on Node 20 but their maintainers will migrate the existing major in place (no Node-24 successor major released yet). They keep working until September 16 2026.References
actions/checkoutv5.0.0 release notes (Node 24)actions/setup-pythonv6,docker/*-actionv4: all switched to Node 24Test plan
actionlint .github/workflows/*.yaml .github/workflows/*.yml(done locally — only remaining diagnostics are pre-existingshellcheckstyle notes insiderun:blocks and thetpu-ciself-hosted-runner label)marin-canary-ferry-cwand confirm the Node 20 deprecation warning is gone🤖 Generated with Claude Code