Update GitHub Actions to latest versions #805
Open
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.
Fixes deprecated GitHub Actions and updates dependencies to prevent future CI failures.
Critical fixes:
set-outputcommand with$GITHUB_OUTPUT(will stop working soon per GitHub's deprecationnotice)
actions-rs/audit-checkwith actively maintainedrustsec/audit-check@v2Dependency updates:
actions/checkout: v1/v2/v3 → v4 (standardize across all workflows)Swatinem/rust-cache: v1 → v2 (performance improvements)styfle/cancel-workflow-action: 0.9.1 → 0.12.1 (bug fixes)Note
Standardizes workflows on latest Actions (checkout v4, rust-cache v2, cancel-workflow-action 0.12.1), replaces deprecated set-output with GITHUB_OUTPUT, and migrates cargo audit to rustsec/audit-check v2.
.github/workflows/ci.yml):actions/checkouttov4andSwatinem/rust-cachetov2across jobs.styfle/cancel-workflow-actionto0.12.1.gh-pages.yml: useactions/checkout@v4; replace deprecatedset-outputwith$GITHUB_OUTPUT.gh-pages-meta.yml: useactions/checkout@v4; bumpcancel-workflow-actionto0.12.1.nightly-cargo-audit.yml):actions-rs/audit-check@v1torustsec/audit-check@v2and useactions/checkout@v4.publish-nightly-channel.yml):actions/checkout@v4and$GITHUB_OUTPUTfor outputs.update-compiler-explorer.yml):actions/checkout@v4.Written by Cursor Bugbot for commit 8dce939. This will update automatically on new commits. Configure here.