Skip to content

Commit

Permalink
Update stylechecker to use latest version of uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
adnan-ashraf committed Aug 9, 2024
1 parent 4d930cc commit 585109e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stylechecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install recent uncrustify
run: |
# we need this because of a bug introduced in https://github.com/uncrustify/uncrustify/pull/3655
git clone https://github.com/uncrustify/uncrustify.git --branch uncrustify-0.75.1
git clone https://github.com/uncrustify/uncrustify.git --branch uncrustify-0.79.0
cd uncrustify && mkdir build && cd build
cmake .. && sudo make install && cd ../..
- name: Run uncrustify
Expand Down
2 changes: 1 addition & 1 deletion tools/uncrustify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nl_for_brace = add # "for () {" vs "for () \n {"
nl_else_brace = add # "else {" vs "else \n {"
nl_while_brace = add # "while () {" vs "while () \n {"
nl_switch_brace = add # "switch () {" vs "switch () \n {"
nl_func_var_def_blk = 1
nl_var_def_blk_end_func_top = 1
nl_before_case = 1
nl_fcall_brace = add # "foo() {" vs "foo()\n{"
nl_fdef_brace = add # "int foo() {" vs "int foo()\n{"
Expand Down

0 comments on commit 585109e

Please sign in to comment.