ci: add Clippy check for both the daemon and the GUI
This commit is contained in:
parent
6871407b1a
commit
7e911b8bb7
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
1
clippy.toml
Normal file
1
clippy.toml
Normal file
@ -0,0 +1 @@
|
||||
msrv = "1.48"
|
||||
Loading…
x
Reference in New Issue
Block a user