imrpove clippy

This commit is contained in:
Fractal-Tess
2023-05-19 03:58:08 +03:00
parent 1135211381
commit e1754058d7
3 changed files with 4 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ jobs:
- name: Clippy & Tests
run: |
cd src-tauri
cargo clippy --all --tests -- -D warnings
cargo clippy --all --tests -- -W clippy::nursery -W clippy::pedantic -A clippy::module-name-repetitions -D clippy::unwrap_used
cargo test --all
- name: install dependencies (ubuntu only)

View File

@@ -58,7 +58,7 @@ jobs:
- name: Clippy & Tests
run: |
cd src-tauri
cargo clippy --all --tests -- -D warnings
cargo clippy --all --tests -- -W clippy::nursery -W clippy::pedantic -A clippy::module-name-repetitions -D clippy::unwrap_used
cargo test --all
- name: install dependencies (ubuntu only)

View File

@@ -5,6 +5,5 @@
npx lint-staged
cd src-tauri
cargo clippy --all --tests -- -D warnings
cargo test --all
cargo clippy --all --tests -- -W clippy::nursery -W clippy::pedantic -A clippy::module-name-repetitions -D clippy::unwrap_used
cargo test --all