Skip to content

Commit

Permalink
Merge pull request #747 from pabuhler/2-x-clang-format
Browse files Browse the repository at this point in the history
update formatting scripts to  clang-format-14
  • Loading branch information
pabuhler authored Feb 11, 2025
2 parents 596e30e + a18fa10 commit a04bfad
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 a04bfad

Please sign in to comment.