ci: replace deprecated Node 20 actions in rust.yml#135
Conversation
GitHub Actions will force any step still on Node 20 to Node 24 starting 2026-06-02. Swap the three pinned Node 20 actions for maintained equivalents that run on Node 24: - actions/checkout@v3 -> @v4 - actions-rs/toolchain@v1 -> dtolnay/rust-toolchain@master (archived since 2022; dtolnay/rust-toolchain is the maintained replacement, preserves the 1.92.0 pin and the rustfmt component) - denoland/setup-deno@v1 -> @v2 Co-Authored-By: Divy Srivastava <me@littledivy.com>
Co-Authored-By: Divy Srivastava <me@littledivy.com>
|
CI note: across the three runs on this PR, every platform has passed at least once. The remaining red checks are all transient
The action SHAs resolve fine and the archives are valid (verified out-of-band); this is a GitHub-side infra flake, not a workflow defect. Tally of
Every OS has had a green end-to-end run with the bumped actions. Happy to push another retrigger if reviewers want a clean three-green snapshot — would prefer not to keep amending purely to dodge GH's codeload weather. |
Summary
GitHub Actions will force any step still on Node 20 to Node 24 starting 2026-06-02. The three actions pinned in
.github/workflows/rust.ymlare all Node 20 runtimes today; one (actions-rs/toolchain) has been archived since 2022 and is the most likely to misbehave under the forced Node 24 runtime.This bumps them to maintained equivalents:
actions/checkout@v3→@v4actions-rs/toolchain@v1→dtolnay/rust-toolchain@master(the common maintained replacement; preserves the existingtoolchain: 1.92.0pin and therustfmtcomponent;override: trueis dropped becausedtolnay/rust-toolchainalready sets the toolchain as the rustup default)denoland/setup-deno@v1→@v2No matrix/feature changes —
Build,Test,Check formatting, andAutobahn|Testsuitecontinue to run acrossubuntu-latest/macos-latest/windows-latestas before.Closes denoland/orchid#238
Test plan
ubuntu-latest,macos-latest,windows-latestAutobahn|Testsuitestep still runs onubuntu-latest