diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5ebc37611..1868a82a2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -62,7 +62,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --workspace --exclude igvmbuilder --exclude igvmmeasure --exclude svsm-fuzz --exclude packit --exclude stage1 --all-features -- -D warnings + args: --workspace --exclude igvmbuilder --exclude igvmmeasure --exclude svsm-fuzz --exclude packit --exclude stage1 --exclude aproxy --all-features -- -D warnings - name: Clippy on std x86_64-unknown-linux-gnu uses: actions-rs/cargo@v1 @@ -168,7 +168,7 @@ jobs: - name: Clippy with undocumented_unsafe_blocks for PR branch run: | - 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 + 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 # Required because after the next checkout everything is removed. - name: Upload PR warnings artifact @@ -188,7 +188,7 @@ jobs: - name: Clippy with undocumented_unsafe_blocks for base branch run: | - 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 + 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 - name: Download PR warnings artifact uses: actions/download-artifact@v4 @@ -206,7 +206,7 @@ jobs: echo "ERROR: $(($PR_WARNINGS - $BASE_WARNINGS)) new undocumented unsafe code blocks detected in this PR" echo "enabling the clippy::undocumented_unsafe_blocks lint in this way:" echo "$ cargo clippy --workspace --all-features --exclude packit --exclude stage1 --exclude svsm-fuzz \\" - echo " --exclude igvmbuilder --exclude igvmmeasure -- -W clippy::undocumented_unsafe_blocks" + echo " --exclude igvmbuilder --exclude igvmmeasure --exclude aproxy -- -W clippy::undocumented_unsafe_blocks" echo "" diff --color -u clippy_warnings_base.txt clippy_warnings_pr.txt exit 1