Skip to content

Commit ef86758

Browse files
Merge branch 'ci/run-clippy-all-features'
2 parents 348ddaf + 382f277 commit ef86758

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/clippy.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
RUSTFLAGS: --deny warnings
6565
run: |
6666
source env.sh
67-
time cargo clippy --locked --all-targets
67+
time cargo clippy --locked --all-targets --benches --tests
68+
time cargo clippy --locked --all-targets --all-features --benches --tests
6869
6970
clippy-check-android:
7071
name: Clippy linting, Android
@@ -86,4 +87,5 @@ jobs:
8687
env:
8788
RUSTFLAGS: --deny warnings
8889
run: |
89-
cargo clippy --locked --target x86_64-linux-android --package mullvad-jni
90+
cargo clippy --locked --target x86_64-linux-android --package mullvad-jni --benches --tests
91+
cargo clippy --locked --target x86_64-linux-android --package mullvad-jni --all-features --benches --tests

.github/workflows/testframework-clippy.yml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
RUSTFLAGS: --deny warnings
4545
run: |
4646
time cargo clippy --locked --all-targets
47+
time cargo clippy --locked --all-targets --all-features
4748
4849
clippy-check-test-windows:
4950
name: Clippy linting of test workspace (Windows)
@@ -71,3 +72,4 @@ jobs:
7172
run: |
7273
# Exclude checking test-manager on Windows, since it is not a supported compilation target.
7374
time cargo clippy --all-targets --workspace --exclude test-manager --locked
75+
time cargo clippy --all-targets --all-features --workspace --exclude test-manager --locked

0 commit comments

Comments
 (0)