Skip to content

Commit ff59bca

Browse files
committed
Add CI job for clang-format checks
1 parent b842860 commit ff59bca

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/static-code-analysis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ jobs:
2525
run: sudo apt-get -qq -y install cppcheck
2626
- name: Run Cppcheck
2727
run: cppcheck src/ -j $(nproc) --force --inline-suppr --library=qt --error-exitcode=1 --template="::{severity} file={file},line={line},col={column}::{message}" ${{ env.extra-args }}
28+
clang-format:
29+
name: clang-format
30+
runs-on: ubuntu-latest
31+
steps: |
32+
cmake -S . -B build
33+
cd build
34+
make clang-format-check

0 commit comments

Comments
 (0)