Skip to content

Commit

Permalink
Merge pull request #741 from pabuhler/clang-format-14
Browse files Browse the repository at this point in the history
update formatting scripts to  clang-format-14
  • Loading branch information
pabuhler authored Jan 19, 2025
2 parents 7d20c51 + 2a6c15d commit f0108f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Clang Format
run: sudo apt install clang-format-12
run: sudo apt install clang-format-14
- name: Run clang format
run: ./format.sh -d
2 changes: 1 addition & 1 deletion format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# assumes git tree is clean when reporting status

if [ -z "${CLANG_FORMAT}" ]; then
CLANG_FORMAT=clang-format-12
CLANG_FORMAT=clang-format-14
fi

a=`git ls-files '*.h' '*.c'`
Expand Down

0 comments on commit f0108f7

Please sign in to comment.