Skip to content

Commit b076861

Browse files
authored
update clang format (#332)
1 parent d086d32 commit b076861

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/format.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ jobs:
1111
runs-on: ubuntu-22.04
1212

1313
steps:
14-
- run: clang-format --version
14+
- run: sudo apt install clang-format-15
15+
16+
- run: clang-format-15 --version
1517

1618
- name: checkout
1719
uses: actions/checkout@v2
1820

1921
- name: apply clang-format
2022
run: |
2123
FILES=$( find . -type f \( -iname \*.h -o -iname \*.cpp \) )
22-
clang-format-12 --style=file -i $FILES
24+
clang-format-15 --style=file -i $FILES
2325
2426
- run: git diff --exit-code --name-only

0 commit comments

Comments
 (0)