Skip to content

Commit

Permalink
Use clang-format-18 explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHands committed Jan 26, 2025
1 parent ddfa746 commit f30aebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ jobs:
git fetch origin master
- name: Check clang-format
run: |
diff=$(git clang-format --extensions c,cpp,h,hpp --style file -q --diff origin/master)
diff=$(git clang-format-18 --extensions c,cpp,h,hpp --style file -q --diff origin/master)
echo $diff
if [ "$diff" != "" ]; then
echo run git clang-format --extensions c,cpp,h,hpp --style file master
echo run git clang-format-18 --extensions c,cpp,h,hpp --style file master
echo or upstream/master depending on your setup
clang
fi
Expand Down

0 comments on commit f30aebb

Please sign in to comment.