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 -- \
45
45
--profile minimal \
46
46
--default-toolchain "${channel}" \
47
47
--target wasm32-unknown-unknown \
48
- --component rustfmt
48
+ --component rustfmt \
49
+ --component clippy
49
50
50
51
COPY --chown=playground entrypoint.sh /playground/tools/
51
52
@@ -109,6 +110,7 @@ ARG channel
109
110
110
111
RUN cargo build
111
112
RUN cargo build --release
113
+ RUN cargo clippy
112
114
RUN rm src/*.rs
113
115
114
116
COPY --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 1
1
ARG base_image=shepmaster/rust-nightly
2
2
FROM ${base_image}
3
3
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
9
5
10
6
ENTRYPOINT ["/playground/tools/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments