mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 15:42:01 +03:00
harden CI: fmt check, clippy -D warnings, cargo test
This commit is contained in:
parent
a608e771e7
commit
671c92f5d4
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -24,8 +24,10 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy, rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
workspaces: src-tauri
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue