Replace actions-rs/toolchain with actions-rust-lang/setup-rust-toolchain
The previous actions actions-rs/toolchain is no longer maintained and was archived. The new action actions-rust-lang/setup-rust-toolchain is the recommended way to setup the rust toolchain.
It also provide a caching mechanism for the rust toolchain which is not available in the previous action and required the use of actions/cache.
Separate ci pre from tests
The fuser's tests only use docker and don't need to rust setup that was only done for the pre group.
Use action taiki-e/install-action to install cargo-deny
This action install a pre-compiled version for cargo-deny which is faster than compiling it from source.
Update
actions/checkout
to v4Replace
actions-rs/toolchain
withactions-rust-lang/setup-rust-toolchain
The previous actions
actions-rs/toolchain
is no longer maintained and was archived. The new actionactions-rust-lang/setup-rust-toolchain
is the recommended way to setup the rust toolchain.It also provide a caching mechanism for the rust toolchain which is not available in the previous action and required the use of
actions/cache
.Separate
ci pre
from testsThe
fuser
's tests only use docker and don't need to rust setup that was only done for thepre
group.Use action
taiki-e/install-action
to installcargo-deny
This action install a pre-compiled version for cargo-deny which is faster than compiling it from source.
Rename docker tag to prevent tag conflict