Skip to content

Commit

Permalink
Only run clang-format on our files
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Oct 23, 2023
1 parent 8b2be07 commit 6e399a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: cmake --build ${{github.workspace}}/build

- name: Check clang-format
run: find src -name '*.cpp' -o -name '*.h' | xargs clang-format --dry-run --Werror
run: clang-format --dry-run --Werror ${{github.workspace}}/src/detector.cpp ${{github.workspace}}/src/litterer.cpp ${{github.workspace}}/src/litterer-standalone.cpp

build-windows:
runs-on: windows-latest
Expand Down

0 comments on commit 6e399a9

Please sign in to comment.