ci: bump actions to v5 (Node.js 24 runtime)#459
Merged
Conversation
GitHub Actions runners deprecate Node.js 20 (default switch June 2, 2026; removal Sept 16, 2026). Bump the three pinned actions in tests.yml to versions that ship with Node.js 24: - actions/checkout v3.6.0 → v5.0.1 - actions/setup-node v3.9.1 → v5.0.0 - actions/cache v4.3.0 → v5.0.5 Pins kept as full SHAs (with version comment) per the existing style.
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
GitHub Actions runners deprecate Node.js 20 (default switch June 2, 2026; removal September 16, 2026). The
Testsworkflow currently triggers a deprecation warning on every run because all three actions are pinned to Node-20-era SHAs. Example annotation on a recent run:This PR bumps each to a release that ships with Node.js 24:
actions/checkoutf43a0e5)93cb6ef)actions/setup-node3235b87)a0853c2)actions/cache0057852)27d5ce7)Pins remain as full SHAs (with the human-readable version in a trailing comment) per the existing file style.
Test plan
🤖 Generated with Claude Code