imrpove clippy
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
- name: Clippy & Tests
|
- name: Clippy & Tests
|
||||||
run: |
|
run: |
|
||||||
cd src-tauri
|
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
|
cargo test --all
|
||||||
|
|
||||||
- name: install dependencies (ubuntu only)
|
- name: install dependencies (ubuntu only)
|
||||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
- name: Clippy & Tests
|
- name: Clippy & Tests
|
||||||
run: |
|
run: |
|
||||||
cd src-tauri
|
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
|
cargo test --all
|
||||||
|
|
||||||
- name: install dependencies (ubuntu only)
|
- name: install dependencies (ubuntu only)
|
||||||
|
@@ -5,6 +5,5 @@
|
|||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
|
||||||
cd src-tauri
|
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
|
cargo test --all
|
||||||
|
|
Reference in New Issue
Block a user