56
56
uses : actions-rs/cargo@v1
57
57
with :
58
58
command : clippy
59
- args : --workspace --exclude igvmbuilder --exclude igvmmeasure --exclude svsm-fuzz --exclude packit --exclude stage1 --all-features -- -D warnings
59
+ args : --workspace --exclude igvmbuilder --exclude igvmmeasure --exclude svsm-fuzz --exclude packit --exclude stage1 --exclude aproxy -- all-features -- -D warnings
60
60
61
61
- name : Clippy on std x86_64-unknown-linux-gnu
62
62
uses : actions-rs/cargo@v1
@@ -151,7 +151,7 @@ jobs:
151
151
152
152
- name : Clippy with undocumented_unsafe_blocks for PR branch
153
153
run : |
154
- cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz --exclude igvmbuilder --exclude igvmmeasure --quiet -- -W clippy::undocumented_unsafe_blocks 2> clippy_warnings_pr.txt
154
+ cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz --exclude igvmbuilder --exclude igvmmeasure --exclude aproxy -- quiet -- -W clippy::undocumented_unsafe_blocks 2> clippy_warnings_pr.txt
155
155
156
156
# Required because after the next checkout everything is removed.
157
157
- name : Upload PR warnings artifact
@@ -171,7 +171,7 @@ jobs:
171
171
172
172
- name : Clippy with undocumented_unsafe_blocks for base branch
173
173
run : |
174
- cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz --exclude igvmbuilder --exclude igvmmeasure --quiet -- -W clippy::undocumented_unsafe_blocks 2> clippy_warnings_base.txt
174
+ cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz --exclude igvmbuilder --exclude igvmmeasure --exclude aproxy -- quiet -- -W clippy::undocumented_unsafe_blocks 2> clippy_warnings_base.txt
175
175
176
176
- name : Download PR warnings artifact
177
177
uses : actions/download-artifact@v3
@@ -189,7 +189,7 @@ jobs:
189
189
echo "ERROR: $(($PR_WARNINGS - $BASE_WARNINGS)) new undocumented unsafe code blocks detected in this PR"
190
190
echo "enabling the clippy::undocumented_unsafe_blocks lint in this way:"
191
191
echo "$ cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz \\"
192
- echo " --exclude igvmbuilder --exclude igvmmeasure -- -W clippy::undocumented_unsafe_blocks"
192
+ echo " --exclude igvmbuilder --exclude igvmmeasure --exclude aproxy -- -W clippy::undocumented_unsafe_blocks"
193
193
echo ""
194
194
diff --color -u clippy_warnings_base.txt clippy_warnings_pr.txt
195
195
exit 1
0 commit comments