diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index a52c9ae66a..86d0785ca5 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -78,6 +78,8 @@ jobs: run: cargo check --features=sancov_pcguard_edges - name: Format run: cargo fmt -- --check + - name: Cleanup + run: cargo clean - name: Run clang-format style check for C/C++ programs. run: clang-format-13 -n -Werror --style=file $(find . -type f \( -name '*.cpp' -o -iname '*.hpp' -o -name '*.cc' -o -name '*.cxx' -o -name '*.cc' -o -name '*.h' \) | grep -v '/target/' | grep -v 'libpng-1\.6\.37' | grep -v 'stb_image\.h' | grep -v 'dlmalloc\.c' | grep -v 'QEMU-Nyx') - name: run shellcheck