Clippy check & update CI (#73)

* updated CI workflow with clippy & fmt
This commit is contained in:
Jean-Philippe Bossuat
2025-08-17 13:02:47 +02:00
committed by GitHub
parent 3a828740cc
commit 0be569eca0
125 changed files with 1033 additions and 530 deletions

View File

@@ -18,6 +18,8 @@ jobs:
- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Cache cargo dependencies
uses: actions/cache@v4
@@ -33,5 +35,11 @@ jobs:
- name: Build
run: cargo build --all-targets
- name: Clippy (deny warnings)
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: rustfmt (check only)
run: cargo fmt --all --check
- name: Run tests
run: cargo test --all