diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index a7fdb067..4fe5c336 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -27,8 +27,7 @@ jobs: - name: Check formatting id: check_format run: | - find $DIRS -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.m' -o -name '*.mm' | \ - xargs -r clang-format-18 -style=file -n -Werror 2> clang_format_errors.log + make check-format 2>clang_format_errors.log - name: Suggest formatting fixes if: failure()