Repository navigation
Move the workflows off the Node 20 action runtimes - #22
Merged
Merged
Conversation
The runner now warns that actions/checkout@v4, actions/setup-dotnet@v4 and actions/upload-artifact@v4 target Node 20 and are being forced onto Node 24. Each is bumped to the current major, all three of which declare node24: checkout v7, setup-dotnet v6, upload-artifact v7. upload-artifact v5 is still node20, so v5 would not have silenced the warning - v6 was the first that did. NuGet/login@v1 already runs on node24 and is unchanged. Nothing here needs adapting for the jump. The inputs in use - fetch-depth, dotnet-version, name, path, if-no-files-found - are unchanged, and upload-artifact's definition only gains an `archive` input that defaults to the old behaviour. checkout v6 moves credentials out of .git/config, which needs no workflow change and no Docker container actions, and v7 blocks fork code under pull_request_target and workflow_run, neither of which these workflows use. setup-dotnet v6 is an ESM migration with no behaviour change. These majors need Actions Runner v2.327.1 or later, which the hosted windows-latest image is well past. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019ysTjCRRPXjVbtSvMuNKZ1
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.
The runner warns that
actions/checkout@v4,actions/setup-dotnet@v4andactions/upload-artifact@v4target Node 20 and are being forced onto Node 24 (deprecation notice).Each is bumped to the current major, all three of which declare
node24:actions/checkoutactions/setup-dotnetactions/upload-artifactWorth noting
actions/upload-artifact@v5still declaresnode20, so v5 would not have silenced the warning — v6 was the first that moved.NuGet/login@v1already runs onnode24, which is why it isn't in the warning.Nothing needed adapting for the jump:
.git/configinto$RUNNER_TEMP— explicitly no workflow changes required, and the caveat only affects Docker container actions, which these workflows don't use. v7 refuses to check out fork code underpull_request_targetandworkflow_run; the triggers here arepull_request,push,workflow_dispatchandv*tags.archiveinput defaulting totrue, the existing behaviour.Every input in use —
fetch-depth,dotnet-version,name,path,if-no-files-found— is unchanged at the new versions. These majors need Actions Runner v2.327.1 or later, which hostedwindows-latestis well past.This commit was pushed to the #21 branch just after that PR merged, so it's split out here rather than reopening a merged PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_019ysTjCRRPXjVbtSvMuNKZ1
Generated by Claude Code