Bump GitHub Actions off the deprecated Node 20 runtime - #42
Merged
Conversation
actions/checkout v4 and setup-dotnet v4 both target Node 20, which GitHub is
already forcing onto Node 24 with a deprecation warning on every run. That shim
will not last.
actions/checkout v4 -> v7
actions/setup-dotnet v4 -> v6
Three and two majors respectively, so the release notes were read rather than
assumed. Nothing in them affects these workflows:
- checkout v5 moves to Node 24 and needs runner 2.327.1 or newer; the hosted
runners are well past that.
- checkout v6 changes where credentials are persisted, which matters only to
workflows that read them back.
- checkout v7 converts to ESM and blocks checking out a fork PR under
pull_request_target or workflow_run; neither trigger is used here.
- setup-dotnet v5 and v6 are Node 24 runtime updates. Every input used here
still exists in v6.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Aug 26, 2026
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.
actions/checkout@v4andsetup-dotnet@v4target Node 20. GitHub already forces them onto Node 24 with a deprecation warning on every run, and that shim will eventually be withdrawn.actions/checkoutactions/setup-dotnetRelease notes read rather than assumed. Nothing in them affects these workflows:
pull_request_target/workflow_run. Neither trigger is used here.CI passing on this PR is the actual verification.
🤖 Generated with Claude Code