Skip to content

Commit 794249d

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr_push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ 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+
git diff --exit-code
145147
146148
- name: Check Python formatting
147149
run: cmake --build build --target black-format-check

0 commit comments

Comments
 (0)