Just found that we are still using actions-rs/toolchain and actions-rs/cargo in the CI, they have already been archived, we should switch to an action that is maintained, e.g., dtolnay/rust-toolchain.
actions-rs/toolchain has an override parameter which is not provided by dtolnay/rust-toolchain, but we can do it manually:
Just found that we are still using
actions-rs/toolchain
andactions-rs/cargo
in the CI, they have already been archived, we should switch to an action that is maintained, e.g.,dtolnay/rust-toolchain
.actions-rs/toolchain
has anoverride
parameter which is not provided bydtolnay/rust-toolchain
, but we can do it manually:actions-rs/cargo
has a feature that is not supported bydtolnay/rust-toolchain
as well, if we don't rely on this, we can simply invokecargo
manually: