diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cb6490fd..d8de145c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,6 +4,8 @@ on: [push, pull_request] env: CARGO_TERM_COLOR: always + # Make sure CI fails on all warnings, including Clippy lints + RUSTFLAGS: "-Dwarnings" jobs: fmt: @@ -22,6 +24,17 @@ jobs: exit 1 fi + clippy_check: + name: Linter Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + with: + components: clippy + - name: Run Clippy + run: cargo clippy + test: name: Tests and Coverage Report env: