Skip to content

Commit

Permalink
ci: fix clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed Aug 29, 2024
1 parent 25dc120 commit 87be889
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Install zsh
run: sudo apt-get install zsh
- name: Install clang-format 18
uses: aminya/setup-cpp@v1
with:
clangformat: 18.1.6
- name: Run clang-format
run: clang-format-18 **/*.cpp **/*.hpp -n --Werror
shell: zsh

0 comments on commit 87be889

Please sign in to comment.