summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-26 08:41:33 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-26 08:41:33 +0100
commit118fcfe8244d5f703fda5b42a8b0b0419649a345 (patch)
tree0c7301cc2ce0352fe98edf07fbbfcd007c32b44e
parentda257e7161a676e7bd0725b7bbbcdeffaf7f9c34 (diff)
parent62d4cfc7f906ee9e209cc4eeec9ef073b58441d8 (diff)
downloadmullvadvpn-118fcfe8244d5f703fda5b42a8b0b0419649a345.tar.xz
mullvadvpn-118fcfe8244d5f703fda5b42a8b0b0419649a345.zip
Merge branch 'ci/run-clippy-no-default-features'
-rw-r--r--.github/workflows/clippy.yml4
-rw-r--r--.github/workflows/testframework-clippy.yml6
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 6c108035ef..2dfcb000c5 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -64,7 +64,7 @@ jobs:
RUSTFLAGS: --deny warnings
run: |
source env.sh
- time cargo clippy --locked --all-targets
+ time cargo clippy --locked --all-targets --no-default-features
time cargo clippy --locked --all-targets --all-features
clippy-check-android:
@@ -87,5 +87,5 @@ jobs:
env:
RUSTFLAGS: --deny warnings
run: |
- cargo clippy --locked --all-targets --target x86_64-linux-android --package mullvad-jni
+ cargo clippy --locked --all-targets --target x86_64-linux-android --package mullvad-jni --no-default-features
cargo clippy --locked --all-targets --target x86_64-linux-android --package mullvad-jni --all-features
diff --git a/.github/workflows/testframework-clippy.yml b/.github/workflows/testframework-clippy.yml
index 26d9768623..11ee9af845 100644
--- a/.github/workflows/testframework-clippy.yml
+++ b/.github/workflows/testframework-clippy.yml
@@ -43,7 +43,7 @@ jobs:
env:
RUSTFLAGS: --deny warnings
run: |
- time cargo clippy --locked --all-targets
+ time cargo clippy --locked --all-targets --no-default-features
time cargo clippy --locked --all-targets --all-features
clippy-check-test-windows:
@@ -71,5 +71,5 @@ jobs:
RUSTFLAGS: --deny warnings
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
+ time cargo clippy --all-targets --workspace --exclude test-manager --locked --no-default-features
+ time cargo clippy --all-targets --workspace --exclude test-manager --locked --all-features