Skip to content

Commit ca69716

Browse files
committed
ci: add --all-targets to clippy jobs
This ensures we lint test code as well.
1 parent dd403fb commit ca69716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/libssl.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
# (below) will have a new lint that we want to suppress.
118118
# If we suppress (e.g. #![allow(clippy::arc_with_non_send_sync)]),
119119
# we would get an unknown-lint error from older clippy versions.
120-
run: cargo clippy --locked --workspace -- -D warnings -A unknown-lints
120+
run: cargo clippy --locked --workspace --all-targets -- -D warnings -A unknown-lints
121121

122122
clippy-nightly-optional:
123123
name: Clippy nightly (optional)
@@ -132,7 +132,7 @@ jobs:
132132
with:
133133
components: clippy
134134
- name: Check clippy
135-
run: cargo clippy --locked --workspace -- -D warnings
135+
run: cargo clippy --locked --workspace --all-targets -- -D warnings
136136

137137
clang-tidy:
138138
name: Clang Tidy

0 commit comments

Comments
 (0)