Skip to content

Commit

Permalink
Reverted new options in clang-format.
Browse files Browse the repository at this point in the history
clang-format-18 is not supported by runner and somehow it's too complicated to install it.
  • Loading branch information
adya committed Apr 13, 2024
1 parent 70afa0c commit b357fb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
python-version: '3.10'

- name: Run clang-format
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format-14 -style=file -i
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format-15 -style=file -i

- name: Glob files
run: python ${{ github.workspace }}/SPID/ProjectGen.py
Expand Down
1 change: 0 additions & 1 deletion SPID/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
RequiresExpressionIndentation: OuterScope
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortEnumsOnASingleLine: 'true'
Expand Down

0 comments on commit b357fb3

Please sign in to comment.