Skip to content

Commit 68af509

Browse files
committed
chore: enable clippy check for all workspace members
This also remove `RUSTFLAGS: -D warnings` for test, as it seems to be redundant and clippy covers everythings
1 parent 48ccb1d commit 68af509

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ jobs:
6666
- uses: actions/checkout@v4
6767
- run: rustup update stable && rustup default stable
6868
- run: rustup component add clippy
69-
# Only check cargo lib for now
70-
# TODO: check every members
71-
- run: cargo clippy -p cargo --lib --no-deps -- -D warnings
69+
- run: cargo clippy --workspace --all-targets --no-deps -- -D warnings
7270

7371
stale-label:
7472
runs-on: ubuntu-latest
@@ -110,8 +108,6 @@ jobs:
110108
CARGO_PROFILE_TEST_DEBUG: 1
111109
CARGO_INCREMENTAL: 0
112110
CARGO_PUBLIC_NETWORK_TESTS: 1
113-
# Deny warnings on CI to avoid warnings getting into the codebase.
114-
RUSTFLAGS: -D warnings
115111
strategy:
116112
matrix:
117113
include:

0 commit comments

Comments
 (0)