harden CI: fmt check, clippy -D warnings, cargo test

This commit is contained in:
Horizontal42 2026-06-18 22:00:44 +03:00
parent a608e771e7
commit 671c92f5d4

View file

@ -24,8 +24,10 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- run: cargo clippy --manifest-path src-tauri/Cargo.toml
- run: cargo fmt --manifest-path src-tauri/Cargo.toml --check
- run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings
- run: cargo test --manifest-path src-tauri/Cargo.toml