diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index d581ff6..a4aa388 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -24,7 +24,7 @@ jobs: - name: Check C++ format run: | - find . -name '*.cpp' -o -name '*.h' | xargs clang-format -style=file -i + find . -name '*.cpp' -o -name '*.h' -o -name '*.hpp' -o -name '*.cc' | xargs clang-format -i git diff --exit-code || (echo "Code was not formatted using clang-format! Please format your code." && exit 1) - name: Check CMake format