Skip to content

Commit

Permalink
Update format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Jul 18, 2024
1 parent a1f66f9 commit f099dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Install Dependencies
run: sudo apt install clang-format-8
run: sudo apt install clang-format-16

- name: check
run: |
Expand All @@ -26,7 +26,7 @@ jobs:
# For every file changed, apply clang-format
for file in $(git diff --name-only origin/$GITHUB_BASE_REF | egrep '.*\.cpp$|.*\.hpp$|.*\.h$'); do
if [ -e $file ]; then
clang-format-8 -i -style=file $file
clang-format-16 -i -style=file $file
git add $file
fi
done
Expand Down

0 comments on commit f099dd1

Please sign in to comment.