Migrate from deprecated actions-rs/toolchain to dtolnay/rust-toolchain#5142
Open
captbaritone wants to merge 1 commit intofacebook:mainfrom
Open
Migrate from deprecated actions-rs/toolchain to dtolnay/rust-toolchain#5142captbaritone wants to merge 1 commit intofacebook:mainfrom
captbaritone wants to merge 1 commit intofacebook:mainfrom
Conversation
The actions-rs/toolchain action has been deprecated since 2020 and shows deprecation warnings about set-output commands. This migrates all workflows to use the actively maintained dtolnay/rust-toolchain action. Key changes: - Replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain (pinned to SHA) - Remove `override: true` (not needed with dtolnay/rust-toolchain) - Change `target:` to `targets:` for cross-compilation targets
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.
Summary
The
actions-rs/toolchainaction has been deprecated since 2020 and shows deprecation warnings in CI:This PR migrates all workflow files to use the actively maintained
dtolnay/rust-toolchainaction instead.Changes:
actions-rs/toolchain@v1withdtolnay/rust-toolchain(pinned to commit SHA)override: true(not needed with dtolnay/rust-toolchain)target:totargets:for cross-compilation targets (different API)Files updated:
.github/workflows/ci.yml(4 usages).github/workflows/update-cargo-lock.yml(1 usage).github/workflows/docusaurus.yml(1 usage)Test plan