Skip to content

Commit 1250aa9

Browse files
authored
Update cmake-multi-platform.yml
1 parent 3b05277 commit 1250aa9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@ jobs:
7272
- name: Test
7373
working-directory: ${{ steps.strings.outputs.build-output-dir }}
7474
run: ctest --output-on-failure --build-config ${{ matrix.build_type }}
75+
76+
lint:
77+
runs-on: ubuntu-latest
78+
79+
steps:
80+
- uses: actions/checkout@v4
81+
82+
- name: Check formatting
83+
run: |
84+
find . -name '*.cpp' -o -name '*.h' |
85+
xargs clang-format -style=file -i --dry-run --Werror

0 commit comments

Comments
 (0)