Skip to content

Commit dca2157

Browse files
Merge pull request #571 from KFilipek/print_cmake_formatting_error
[CI] Add diff print to CMake style check
2 parents 638d90d + 794249d commit dca2157

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
@@ -164,7 +164,9 @@ jobs:
164164
run: cmake --build build --target clang-format-check
165165

166166
- name: Check CMake formatting
167-
run: cmake --build build --target cmake-format-check
167+
run: |
168+
cmake --build build --target cmake-format-apply
169+
git diff --exit-code
168170
169171
- name: Check Python formatting
170172
run: cmake --build build --target black-format-check

0 commit comments

Comments
 (0)