ci: upgrade GitHub Actions for Node.js 24 compatibility#450
ci: upgrade GitHub Actions for Node.js 24 compatibility#450andreatgretel merged 3 commits intomainfrom
Conversation
Upgrades actions to versions compatible with the Node.js 24 runtime: - actions/checkout: → v6 - actions/upload-artifact: → v6 - actions/download-artifact: → v7 - actions/github-script: → v8 - actions/setup-python: → v6 Mirrors: NVIDIA/Megatron-LM@1d5e68b Signed-off-by: oliver könig <okoenig@nvidia.com>
|
All contributors have signed the DCO ✍️ ✅ |
Greptile SummaryThis PR upgrades all GitHub Actions across six workflow files to versions compatible with the Node.js 24 runner runtime. The changes are purely mechanical version bumps — no workflow logic, step ordering, or configuration values are altered. Changes across all workflows:
The upgrade is consistent across all jobs and mirrors a validated pattern from the NVIDIA/Megatron-LM repository. No issues were found.
|
| Filename | Overview |
|---|---|
| .github/workflows/build-docs.yml | Upgrades actions/checkout v2→v6, astral-sh/setup-uv v6→v7, and actions/download-artifact v5→v7 |
| .github/workflows/build-notebooks.yml | Upgrades actions/checkout v2→v6, astral-sh/setup-uv v6→v7, actions/cache v4→v5, and actions/upload-artifact v4→v6 |
| .github/workflows/check-colab-notebooks.yml | Upgrades actions/checkout v4→v6 and astral-sh/setup-uv v5→v7 |
| .github/workflows/ci.yml | Upgrades actions/checkout v4→v6 and astral-sh/setup-uv v5→v7 across all seven jobs in the workflow |
| .github/workflows/health-checks.yml | Upgrades actions/checkout v4→v6 and astral-sh/setup-uv v5→v7 |
| .github/workflows/pack-tutorials.yml | Upgrades actions/download-artifact v5→v7 |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push / PR trigger] --> B[ci.yml]
A --> C[check-colab-notebooks.yml]
A --> D[health-checks.yml]
B --> E["actions/checkout@v6\nastral-sh/setup-uv@v7"]
C --> F["actions/checkout@v6\nastral-sh/setup-uv@v7"]
D --> G["actions/checkout@v6\nastral-sh/setup-uv@v7"]
A --> H[build-notebooks.yml]
H --> I["actions/checkout@v6\nastral-sh/setup-uv@v7\nactions/cache@v5"]
I --> J["actions/upload-artifact@v6\n(artifacts: notebooks)"]
J --> K[build-docs.yml]
K --> L["actions/checkout@v6\nastral-sh/setup-uv@v7\nactions/download-artifact@v7"]
J --> M[pack-tutorials.yml]
M --> N["actions/download-artifact@v7"]
Reviews (3): Last reviewed commit: "Merge branch 'main' into ko3n1g/upgrade-..." | Re-trigger Greptile
|
Thanks for addressing these upgrades! I checked for breaking changes across all the version bumps and everything looks safe - inputs and defaults are unchanged, it's essentially just the node20 → node24 runtime switch. We should keep an eye on the pipelines after merging, but I don't expect issues. Would you mind also including these in the PR? They're also still on node20:
I verified none of the workflows use any of the inputs that were removed/renamed between setup-uv v5 and v7 ( Once the changes are in, we can trigger Two other actions ( Also a small note: the PR description mentions |
…tible versions - actions/cache: v4 → v5 in build-notebooks.yml - astral-sh/setup-uv: v5/v6 → v7 in ci.yml, check-colab-notebooks.yml, health-checks.yml, build-docs.yml, build-notebooks.yml Addresses: #450 (comment) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Triggered the three safe-to-run workflows on the PR branch as suggested:
|
|
I have read the DCO document and I hereby sign the DCO. |
Summary
Upgrades all GitHub Actions to versions compatible with the Node.js 24 runtime, which GitHub is rolling out as the new runner default.
Action upgrades:
actions/checkout: any version →v6actions/upload-artifact: any version →v6actions/download-artifact: any version →v7actions/cache: any version →v5astral-sh/setup-uv: any version →v7Mirrors: NVIDIA/Megatron-LM@1d5e68b
Test plan
🤖 Generated with Claude Code