File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments