summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-20 10:01:56 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-20 10:01:56 +0100
commitef86758457729501bd5ef5ec51c08976954d5326 (patch)
tree7a98a789ab2029a83b588b3abd328f03b6a65e5d
parent348ddaf3ae7a59efa90fbb07360016d48793f290 (diff)
parent382f27711928178e865a8d050ff0bc801a91dafc (diff)
downloadmullvadvpn-ef86758457729501bd5ef5ec51c08976954d5326.tar.xz
mullvadvpn-ef86758457729501bd5ef5ec51c08976954d5326.zip
Merge branch 'ci/run-clippy-all-features'
-rw-r--r--.github/workflows/clippy.yml6
-rw-r--r--.github/workflows/testframework-clippy.yml2
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 0f559d8579..9a28441e63 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -64,7 +64,8 @@ jobs:
RUSTFLAGS: --deny warnings
run: |
source env.sh
- time cargo clippy --locked --all-targets
+ time cargo clippy --locked --all-targets --benches --tests
+ time cargo clippy --locked --all-targets --all-features --benches --tests
clippy-check-android:
name: Clippy linting, Android
@@ -86,4 +87,5 @@ jobs:
env:
RUSTFLAGS: --deny warnings
run: |
- cargo clippy --locked --target x86_64-linux-android --package mullvad-jni
+ cargo clippy --locked --target x86_64-linux-android --package mullvad-jni --benches --tests
+ cargo clippy --locked --target x86_64-linux-android --package mullvad-jni --all-features --benches --tests
diff --git a/.github/workflows/testframework-clippy.yml b/.github/workflows/testframework-clippy.yml
index 632cfb2dd5..26d9768623 100644
--- a/.github/workflows/testframework-clippy.yml
+++ b/.github/workflows/testframework-clippy.yml
@@ -44,6 +44,7 @@ jobs:
RUSTFLAGS: --deny warnings
run: |
time cargo clippy --locked --all-targets
+ time cargo clippy --locked --all-targets --all-features
clippy-check-test-windows:
name: Clippy linting of test workspace (Windows)
@@ -71,3 +72,4 @@ jobs:
run: |
# Exclude checking test-manager on Windows, since it is not a supported compilation target.
time cargo clippy --all-targets --workspace --exclude test-manager --locked
+ time cargo clippy --all-targets --all-features --workspace --exclude test-manager --locked