fix: make rustfmt and clippy available to all toolchains
This commit is contained in:
parent
c6101c1e9e
commit
8b9b16aa2e
2 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,7 @@ RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.9.
|
||||||
RUN cargo binstall -y \
|
RUN cargo binstall -y \
|
||||||
cargo-chef@0.1.67 \
|
cargo-chef@0.1.67 \
|
||||||
cargo-hack@0.6.31 \
|
cargo-hack@0.6.31 \
|
||||||
release-plz@0.3.80 && \
|
release-plz@0.3.80
|
||||||
rustup component add rustfmt clippy
|
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ fi
|
||||||
echo "Selected toolchain: ${TOOLCHAIN}"
|
echo "Selected toolchain: ${TOOLCHAIN}"
|
||||||
|
|
||||||
rustup update "${TOOLCHAIN}"
|
rustup update "${TOOLCHAIN}"
|
||||||
|
rustup component add rustfmt clippy
|
||||||
|
|
||||||
if test "${ARGS[0]}" == "cargo";then
|
if test "${ARGS[0]}" == "cargo";then
|
||||||
PRE_COMMAND="cargo +${TOOLCHAIN} "
|
PRE_COMMAND="cargo +${TOOLCHAIN} "
|
||||||
|
|
Loading…
Reference in a new issue