Skip to content

Commit 632b93c

Browse files
authored
fix: clippy issues with deps (#434)
1 parent 1b3943f commit 632b93c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106

107107
# Check the minimum supported Rust version
108108
- name: Default features
109-
run: cargo hack check --feature-powerset --locked --rust-version --all-targets
109+
run: cargo hack check --feature-powerset --locked --rust-version --workspace --lib --bins
110110
rustfmt:
111111
if: ${{ github.event.pull_request.draft == false && github.event_name != 'push' && needs.changed_files.outputs.changed-rust-files == 'true' }}
112112
needs: changed_files
@@ -155,7 +155,7 @@ jobs:
155155
run: cargo install sarif-fmt --locked
156156
- name: Check
157157
run: >
158-
cargo clippy --all-features --all-targets --message-format=json
158+
cargo clippy --all-features --workspace --lib --bins --no-deps --message-format=json
159159
| clippy-sarif
160160
| tee clippy-results.sarif
161161
| sarif-fmt
@@ -172,7 +172,7 @@ jobs:
172172
sarif_file: clippy-results.sarif
173173
wait-for-processing: true
174174
- name: Report status
175-
run: cargo clippy --all-features --all-targets -- -D warnings --allow deprecated
175+
run: cargo clippy --all-features --workspace --lib --bins --no-deps -- -D warnings --allow deprecated
176176
test:
177177
if: ${{ github.event.pull_request.draft == false && needs.changed_files.outputs.changed-tests-files == 'true' }}
178178
permissions:

0 commit comments

Comments
 (0)