Skip to content

Commit 8dc6c6b

Browse files
committed
Exclude mock from security focused lints
1 parent f764845 commit 8dc6c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115

116116
- name: Run security-focused clippy lints
117117
run: |
118-
cargo clippy --all-targets --all-features -- \
118+
cargo clippy --all-targets --all-features --workspace --exclude openprot-platform-mock -- \
119119
-D warnings \
120120
-W clippy::arithmetic_side_effects \
121121
-W clippy::float_arithmetic \
@@ -131,7 +131,7 @@ jobs:
131131
132132
- name: Run strict security lints on non-test code
133133
run: |
134-
cargo clippy --lib --bins -- \
134+
cargo clippy --lib --bins --workspace --exclude openprot-platform-mock -- \
135135
-D warnings \
136136
-D clippy::arithmetic_side_effects \
137137
-D clippy::float_arithmetic \

0 commit comments

Comments
 (0)