From 19063aa93770bd84677bd729a19398c1a664cabf Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Wed, 15 Sep 2021 18:42:31 -0400 Subject: [PATCH] Add Clippy to CI-Linux image --- dockerfiles/ci-linux/Dockerfile | 1 + dockerfiles/ci-linux/README.md | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dockerfiles/ci-linux/Dockerfile b/dockerfiles/ci-linux/Dockerfile index 0243c61f..89b7a76b 100644 --- a/dockerfiles/ci-linux/Dockerfile +++ b/dockerfiles/ci-linux/Dockerfile @@ -30,6 +30,7 @@ RUN set -eux && \ # install wasm toolchain rustup target add wasm32-unknown-unknown && \ rustup target add wasm32-unknown-unknown --toolchain nightly && \ + rustup component add clippy --toolchain nightly && \ # install cargo tools cargo install cargo-web wasm-pack cargo-deny cargo-spellcheck && \ cargo install --version 0.4.0 diener && \ diff --git a/dockerfiles/ci-linux/README.md b/dockerfiles/ci-linux/README.md index 59c7ee03..1b68a383 100644 --- a/dockerfiles/ci-linux/README.md +++ b/dockerfiles/ci-linux/README.md @@ -30,13 +30,15 @@ Used to build and test Substrate-based projects. **Rust tools & toolchains:** +- `diener` - `sccache` -- `wasm-pack` -- `wasm-bindgen` -- `wasm-gc` +- `cargo-clippy` - `cargo-deny` - `cargo-spellcheck`: Required for the CI to do automated spell-checking - `wasm32-unknown-unknown` toolchain +- `wasm-pack` +- `wasm-bindgen` +- `wasm-gc` [Click here](https://hub.docker.com/repository/docker/paritytech/ci-linux) for the registry.