From b7859d5de9968c20c37f1c5965dc2a4535031429 Mon Sep 17 00:00:00 2001 From: Arkadii Hlushchevskyi Date: Sat, 13 Apr 2024 21:51:53 +0300 Subject: [PATCH] Increased clang-format version to better support concepts. --- .github/workflows/maintenance.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 85d1a32..9fe7837 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -12,9 +12,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.10' + + - name: Install latest clang-format + run: 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