File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- \
4545 --profile minimal \
4646 --default-toolchain "${channel}" \
4747 --target wasm32-unknown-unknown \
48- --component rustfmt
48+ --component rustfmt \
49+ --component clippy
4950
5051COPY --chown=playground entrypoint.sh /playground/tools/
5152
@@ -109,6 +110,7 @@ ARG channel
109110
110111RUN cargo build
111112RUN cargo build --release
113+ RUN cargo clippy
112114RUN rm src/*.rs
113115
114116COPY --from=modify-cargo-toml /playground/modify-cargo-toml/target/release/modify-cargo-toml /playground/.cargo/bin
Original file line number Diff line number Diff line change 11ARG base_image=shepmaster/rust-nightly
22FROM ${base_image}
33
4- RUN rustup component add clippy
5-
6- RUN touch src/lib.rs
7- RUN cargo clippy
8- RUN rm src/*.rs
4+ # The base image takes care of all this for now
95
106ENTRYPOINT ["/playground/tools/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments