fix: make rustfmt and clippy available to all toolchains
All checks were successful
/ test (map[name:nightly]) (push) Successful in 37s
/ test (map[name:stable]) (push) Successful in 39s
/ test (map[name:v1.81.0]) (push) Successful in 5s

This commit is contained in:
Paul Campbell 2024-09-17 10:39:41 +01:00
parent c6101c1e9e
commit 8b9b16aa2e
2 changed files with 2 additions and 2 deletions

View file

@ -21,8 +21,7 @@ RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.9.
RUN cargo binstall -y \
cargo-chef@0.1.67 \
cargo-hack@0.6.31 \
release-plz@0.3.80 && \
rustup component add rustfmt clippy
release-plz@0.3.80
COPY entrypoint.sh /

View file

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