ci: bump GitHub Actions off deprecated Node 20 runtime - #16
Merged
Conversation
GitHub is deprecating the Node 20 runner, and every action run was
logging a forced-to-Node-24 warning. Bump each to the lowest major that
ships on Node 24:
actions/checkout v4 -> v5
astral-sh/setup-uv v5 -> v7 (v6 is still Node 20; v8 drops the
major tag, so v7 is the last @vn)
actions/upload-artifact v4 -> v6 (v5 is still Node 20)
actions/download-artifact v4 -> v7 (v5/v6 are still Node 20)
upload@v6 and download@v7 share the v4+ immutable artifact backend, so
the release dist hand-off is unchanged. Our usage is bare/parameterless,
unaffected by the majors' behaviour changes (setup-uv's auto-activate is
unused; we call uv venv / uv run explicitly).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Why
GitHub is deprecating the Node 20 runner, so every workflow run was logging a "forced to run on Node.js 24" warning for
actions/checkout,astral-sh/setup-uv, andactions/upload-artifact(surfaced on the v1.1.0 CI runs).What
Bumped each action to the lowest major that already ships on Node 24 — keeping the repo's major-tag convention and minimizing churn:
actions/checkoutastral-sh/setup-uv@vNformactions/upload-artifactactions/download-artifactRuntimes verified from each tag's
action.yml(runs.using: node24).Compatibility
upload-artifact@v6+download-artifact@v7share the v4+ immutable artifact backend, so the release workflow'sdisthand-off is unchanged.uv venv/uv runexplicitly).pypa/gh-action-pypi-publish@release/v1left as-is (PyPA-maintained floating tag, already Node 24, wasn't in the warning).🤖 Generated with Claude Code