Skip to content

Commit

Permalink
Update clang_format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joanvallve authored Dec 16, 2024
1 parent 9f64b6a commit 34d1276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4

- name: install clang
run: sudo apt install -y clang-format-12
run: sudo apt install -y clang-format-13

- name: config git & temporary branch
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
git config --global user.name "continuous integration"
git checkout -b ci_processing
- name: apply clang format
run: find . -iname *.h -o -iname *.cpp -o -iname *.hpp | xargs clang-format-12 --style=file -i
run: find . -iname *.h -o -iname *.cpp -o -iname *.hpp | xargs clang-format-13 --style=file -i
- name: push changes if any
run: |
if git commit -a -m "[skip ci] clang format" ; then
Expand Down

0 comments on commit 34d1276

Please sign in to comment.