dtolnay/rust-toolchain is now a famous action to setup rust toolchain, for example which is used in tokio and the other a lot of projects.
As GitHub Actions' default environment contains rustup, we can also use the rustup. So if it is more appropriate in this project, I will fix to use it instead of the GitHub Action (for example: cargo project, rust-analyzer project) .
Replaces actions-rs/cargo with run: as the former is unmaintained.
Same as actions-rs/toolchain, actions-rs has not been updated for a long time.
Fixes deprecation warnings due to unmaintained actions or old version actions.
actions-rs/toolchain
withdtolnay/rust-toolchain
as the former is unmaintained.dtolnay/rust-toolchain
is now a famous action to setup rust toolchain, for example which is used in tokio and the other a lot of projects.rustup
, we can also use therustup
. So if it is more appropriate in this project, I will fix to use it instead of the GitHub Action (for example:cargo
project,rust-analyzer
project) .actions-rs/cargo
withrun:
as the former is unmaintained.actions-rs/toolchain
,actions-rs
has not been updated for a long time.actions/checkout@v3
from version 2.Swatinem/rust-cache@v2
from version 1.