diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 8265dd1..b6a635b 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -33,6 +33,8 @@ jobs: include: - name: cargo fmt command: cargo fmt --all -- --check + - name: cargo clippy + command: cargo clippy --all-targets --all-features -- -D warnings - name: cargo test command: cargo test - name: cargo build @@ -45,7 +47,7 @@ jobs: - name: Set up Rust uses: dtolnay/rust-toolchain@stable with: - components: rustfmt + components: rustfmt, clippy - name: Cache cargo artifacts uses: Swatinem/rust-cache@v2