Skip to content

Commit c8e44fd

Browse files
committed
Fixing not checking format on h and cpp third_party files.
1 parent 5e27d05 commit c8e44fd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
style-check:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout code
@@ -21,6 +21,4 @@ jobs:
2121
2222
- name: Check clang-format
2323
run: |
24-
find . -name "*.cpp" -o -name "*.h" -not -path "./visage_graphics/third_party"
25-
find . -name "*.cpp" -o -name "*.h" -not -path "./visage_graphics/third_party" | \
26-
xargs clang-format --dry-run --Werror --style=file
24+
find . \( -name "*.cpp" -o -name "*.h" \) -not -path "./visage_graphics/third_party/*" | xargs clang-format --dry-run --Werror --style=file

0 commit comments

Comments
 (0)