diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 88f9467..d21d56e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -73,3 +73,19 @@ jobs: env: DO_WASM: true run: ./contrib/test.sh + + Clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - run: rustup component add clippy + - uses: actions-rs/cargo@v1 + with: + command: clippy + args: --features=rand-std,recovery,lowmemory,global-context --all-targets -- -D warnings