From 671c92f5d46a7937d664fbdbe20deb84d346af3f Mon Sep 17 00:00:00 2001 From: Horizontal42 <75383519+Horizontal42@users.noreply.github.com> Date: Thu, 18 Jun 2026 22:00:44 +0300 Subject: [PATCH] harden CI: fmt check, clippy -D warnings, cargo test --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55ac160..349f350 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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