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