Skip to content

Update workflow actions to Node 24 majors - #2631

Merged
glopesdev merged 1 commit into
bonsai-rx:mainfrom
glopesdev:update-actions-node24
Jul 6, 2026
Merged

glopesdev merged 1 commit into
bonsai-rx:mainfrom
glopesdev:update-actions-node24

Conversation

@glopesdev

Copy link
Copy Markdown
Member

GitHub Actions runners have deprecated Node 20, and the workflow's pinned action majors still target it, so every run prints the Node 20 deprecation warning while the actions are force-run on Node 24. This bumps each action to its latest major, all of which target the Node 24 runtime, so the declared runtime matches what the runner already uses and the warning clears.

Version bumps

  • actions/checkout v4 to v7
  • actions/setup-python v5 to v6
  • actions/setup-dotnet v4 to v5
  • actions/upload-artifact v4 to v7
  • actions/download-artifact v4 to v8
  • actions/github-script v7 to v9
  • microsoft/setup-msbuild v2 to v3
  • NuGet/setup-nuget v2 to v4

Notes

The artifact actions and github-script cross several majors, so this run is the real check that nothing in their newer majors changes how the workflow uses them; the checkout and setup bumps are largely runtime updates. actions/upload-artifact and actions/download-artifact are moved together to keep the upload and download pair compatible. The change is otherwise advisory, since the runner already forces these actions onto Node 24 today, so nothing was failing beforehand.

Bump each action in the CI workflow to its latest major, all of which
target the Node 24 runtime, clearing the Node 20 deprecation warning
GitHub emits for the older majors. Covers checkout, setup-python,
setup-dotnet, upload-artifact, download-artifact, github-script,
setup-msbuild, and setup-nuget.
@glopesdev glopesdev added this to the 2.9.1 milestone Jul 6, 2026
@glopesdev
glopesdev requested a review from a team July 6, 2026 13:50
@glopesdev glopesdev added the fix Pull request that fixes an issue label Jul 6, 2026
@glopesdev
glopesdev merged commit 4ed27b8 into bonsai-rx:main Jul 6, 2026
10 checks passed
@glopesdev
glopesdev deleted the update-actions-node24 branch July 6, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull request that fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant