Skip to content

Commit d7388f8

Browse files
committed
[CI] Add diff print to CMake style check
1 parent 3c2513c commit d7388f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr_push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ jobs:
141141
run: cmake --build build --target clang-format-check
142142

143143
- name: Check CMake formatting
144-
run: cmake --build build --target cmake-format-check
144+
run: |
145+
cmake --build build --target cmake-format-apply
146+
echo "Errors found:"
147+
git diff --exit-code
145148
146149
- name: Check Python formatting
147150
run: cmake --build build --target black-format-check

0 commit comments

Comments
 (0)