Skip to content

Commit

Permalink
Increased clang-format version to better support concepts.
Browse files Browse the repository at this point in the history
  • Loading branch information
adya committed Apr 13, 2024
1 parent 70afa0c commit 1b2531f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install latest clang-format
run:
sudo aup-get update
sudo apt-get install clang-format-18

- 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-18 -style=file -i

- name: Glob files
run: python ${{ github.workspace }}/SPID/ProjectGen.py
Expand Down

0 comments on commit 1b2531f

Please sign in to comment.