diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-02-20 10:33:38 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-02-26 08:40:17 +0100 |
| commit | 62d4cfc7f906ee9e209cc4eeec9ef073b58441d8 (patch) | |
| tree | 0c7301cc2ce0352fe98edf07fbbfcd007c32b44e /.github/workflows | |
| parent | a7317f7fd9ad5dc88ee50d2feefa26e2774cf303 (diff) | |
| download | mullvadvpn-62d4cfc7f906ee9e209cc4eeec9ef073b58441d8.tar.xz mullvadvpn-62d4cfc7f906ee9e209cc4eeec9ef073b58441d8.zip | |
Run clippy with `--no-default-features` instead of default features
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/clippy.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/testframework-clippy.yml | 4 |
2 files changed, 4 insertions, 4 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 cbb35eb2c2..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 --workspace --exclude test-manager --locked --no-default-features time cargo clippy --all-targets --workspace --exclude test-manager --locked --all-features |
