diff --git a/.github/workflows/clang_format.yml b/.github/workflows/clang_format.yml index d61003b..ccfe32b 100644 --- a/.github/workflows/clang_format.yml +++ b/.github/workflows/clang_format.yml @@ -22,9 +22,7 @@ jobs: - name: Format code run: | - find include -type f \( -name '*.hpp' -o -name '*.h' -o -name '*.cuh' -o -name '*.inl' \) -exec clang-format -i --style=file --verbose {} + - find src -type f \( -name '*.cu' -o -name '*.hpp' -o -name '*.h' -o -name '*.cpp' \) -exec clang-format -i --style=file --verbose {} + - find test -type f \( -name '*.hpp' -o -name '*.h' -o -name '*.cpp' -o -name '*.cuh' -o -name '*.cu' \) ! -path 'test/tutorial/*' -exec clang-format -i --style=file --verbose {} + + find src -type f \( -name '*.cc' -o -name '*.hh' -o -name '*.h' -o -name '*.cpp' \) -exec clang-format -i --style=file --verbose {} + - name: Check for changes id: check-changes