summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-01-08 12:49:21 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-01-08 12:49:21 +0100
commitdf0cd903463fcf1c7004b72fee20beb3f2c231d0 (patch)
tree9eef693e781805042c0106d782cc037ea3fa0dc0
parentcfee64bf34268c28e4a56d1324d868174e52d7b7 (diff)
parent99ce505c580afbd9cdedd7576d74a95204078ddc (diff)
downloadmullvadvpn-df0cd903463fcf1c7004b72fee20beb3f2c231d0.tar.xz
mullvadvpn-df0cd903463fcf1c7004b72fee20beb3f2c231d0.zip
Merge branch 'lint_all_targets_in_ci'
-rw-r--r--.github/workflows/clippy.yml2
-rw-r--r--.github/workflows/testframework-clippy.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index bd8d7fa796..0f559d8579 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
+ time cargo clippy --locked --all-targets
clippy-check-android:
name: Clippy linting, Android
diff --git a/.github/workflows/testframework-clippy.yml b/.github/workflows/testframework-clippy.yml
index 670001c882..632cfb2dd5 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 -- -W clippy::unused_async
+ time cargo clippy --locked --all-targets
clippy-check-test-windows:
name: Clippy linting of test workspace (Windows)
@@ -70,4 +70,4 @@ jobs:
RUSTFLAGS: --deny warnings
run: |
# Exclude checking test-manager on Windows, since it is not a supported compilation target.
- time cargo clippy --workspace --exclude test-manager --locked -- -W clippy::unused_async
+ time cargo clippy --all-targets --workspace --exclude test-manager --locked