Skip to content

Commit

Permalink
github: Install clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Jun 19, 2024
1 parent de242e1 commit 8a590f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
- name: Install codespell
run: pip3 install codespell

- name: Install clang-format
run: sudo apt-get update -q
&& sudo apt-get install clang-format -q -y

- name: Lint
run: cmake -D FORMAT_COMMAND=clang-format-14 -P cmake/lint.cmake
run: cmake -D FORMAT_COMMAND=clang-format -P cmake/lint.cmake

- name: Spell check
run: cmake -P cmake/spell.cmake
Expand Down

0 comments on commit 8a590f9

Please sign in to comment.