-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace unmaintained actions-rs/* actions in CI workflows #79
Replace unmaintained actions-rs/* actions in CI workflows #79
Conversation
Basically all of the `actions-rs/*` actions are unmaintained. See <actions-rs/toolchain#216> for more information. Due to their age they generate several warnings in CI runs. To get rid of those warnings the occurrences of `actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`, and the occurrences of `actions-rs/cargo` are replaced by direct invocations of `cargo`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you! 🎁
@@ -29,12 +29,10 @@ jobs: | |||
- wasm32-unknown-unknown | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: actions-rs/toolchain@v1 | |||
- uses: dtolnay/rust-toolchain@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
@@ -46,11 +44,9 @@ jobs: | |||
- stable | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: actions-rs/toolchain@v1 | |||
- uses: dtolnay/rust-toolchain@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
@@ -53,11 +51,9 @@ jobs: | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: RustCrypto/actions/cargo-cache@master | |||
- uses: actions-rs/toolchain@v1 | |||
- uses: dtolnay/rust-toolchain@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
with: | ||
command: fmt | ||
args: --all -- --check | ||
run: cargo fmt --all -- --check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
Basically all of the
actions-rs/*
actions are unmaintained. See actions-rs/toolchain#216 for more information. Due to their age they generate several warnings in CI runs, for example in https://github.com/RustCrypto/KDFs/actions/runs/4332376249:To get rid of those warnings the occurrences of
actions-rs/toolchain
are replaced bydtolnay/rust-toolchain
, and the occurrences ofactions-rs/cargo
are replaced by direct invocations ofcargo
.