diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc8c481..0cf1e2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable with: - components: rustfmt + components: rustfmt, clippy - name: Restore Cargo cache uses: Swatinem/rust-cache@v2 @@ -35,5 +35,8 @@ jobs: - name: Run cargo check run: cargo check --locked --all-targets + - name: Run cargo clippy + run: cargo clippy --locked --all-targets -- -D warnings + - name: Run cargo test run: cargo test --locked