diff --git a/.github/actions/setup-rust/action.yaml b/.github/actions/setup-rust/action.yaml index b1ae31bf..8b15b571 100644 --- a/.github/actions/setup-rust/action.yaml +++ b/.github/actions/setup-rust/action.yaml @@ -52,7 +52,7 @@ runs: - name: Install cargo dependencies run: | - rustup install nightly-2023-10-05 --component clippy --component rustfmt + rustup install nightly-2023-10-05 rustup component add rustfmt --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu rustup component add clippy --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu cargo install cargo-udeps --locked @@ -63,6 +63,6 @@ runs: run: | rustc --version; cargo --version; - cargo clippy --version; - cargo fmt --version; + cargo +nightly-2023-10-05-x86_64-unknown-linux-gnu clippy --version; + cargo +nightly-2023-10-05-x86_64-unknown-linux-gnu fmt --version; shell: bash