ci: add Clippy check for both the daemon and the GUI

This commit is contained in:
Antoine Poinsot committed 2022-10-13 14:24:25 +02:00
1 parent 6871407b1a
commit 7e911b8bb7
2 files changed
+6 -1

No files matched your search

+5 -1
View File
@@ -10,10 +10,12 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
components: rustfmt, clippy
override: true
- name: rustfmt
run: cargo fmt -- --check
- name: clippy
run: cargo clippy --all-features --all-targets -- -D warnings
unit_tests:
needs: linter
@@ -54,6 +56,8 @@ jobs:
override: true
- name: rustfmt
run: cd gui && cargo fmt -- --check
- name: clippy
run: cargo clippy --all-features --all-targets -- -D warnings
unit_tests_gui:
needs: linter_gui