From b076861a6c26a3db43d4be3f4506051d56096cda Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Sat, 25 Nov 2023 18:41:42 +0100 Subject: [PATCH] update clang format (#332) --- .github/workflows/format.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a0b9d518..4ecc4e18 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -11,7 +11,9 @@ jobs: runs-on: ubuntu-22.04 steps: - - run: clang-format --version + - run: sudo apt install clang-format-15 + + - run: clang-format-15 --version - name: checkout uses: actions/checkout@v2 @@ -19,6 +21,6 @@ jobs: - name: apply clang-format run: | FILES=$( find . -type f \( -iname \*.h -o -iname \*.cpp \) ) - clang-format-12 --style=file -i $FILES + clang-format-15 --style=file -i $FILES - run: git diff --exit-code --name-only