fix: install rustfmt and clippy into correct toolchains
All checks were successful
/ test (map[name:stable]) (push) Successful in 40s
/ test (map[name:v1.81.0]) (push) Successful in 9s
/ test (map[name:nightly]) (push) Successful in 34s

This commit is contained in:
Paul Campbell 2024-09-17 10:54:04 +01:00
parent cdce2e3048
commit 18e606baa8

View file

@ -27,7 +27,7 @@ fi
echo "Selected toolchain: ${TOOLCHAIN}" echo "Selected toolchain: ${TOOLCHAIN}"
rustup update "${TOOLCHAIN}" rustup update "${TOOLCHAIN}"
rustup component add rustfmt clippy rustup component add --toolchain "${TOOLCHAIN}" rustfmt clippy
if test "${ARGS[0]}" == "cargo";then if test "${ARGS[0]}" == "cargo";then
PRE_COMMAND="cargo +${TOOLCHAIN} " PRE_COMMAND="cargo +${TOOLCHAIN} "