From 597c9fd055309471242a1b026b5f517397a12448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Mon, 23 Feb 2026 14:47:37 +0100 Subject: [PATCH 1/2] Revert "Temporary fix for clang-format CI (#371)" This reverts commit 24e37b68518e98d32bb61016b2019ca7718e64e0. --- .github/workflows/clang-format.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 4e0c94ca..dc42fdd6 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -11,19 +11,17 @@ jobs: strategy: matrix: path: - - src - - tests + - 'src' + - 'tests' steps: - name: Checkout Repo uses: actions/checkout@v4 with: persist-credentials: false - - - name: Install clang-format - run: sudo apt-get update && sudo apt-get install -y clang-format-20 - - name: Verify formatting (${{ matrix.path }}) - run: | - find ${{ matrix.path }} \( -name '*.cpp' -o -name '*.hpp' \) -print0 | \ - xargs -0 clang-format-20 --dry-run --Werror + - name: Verify Formatting + uses: jidicula/clang-format-action@v4.15.0 + with: + clang-format-version: '20' + check-path: ${{ matrix.path }} From a92c353a3d78b54ab6cd916bc0c58d36f0d8f0f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Mon, 23 Feb 2026 14:51:32 +0100 Subject: [PATCH 2/2] Keep path changes and bump action version to 4.16.0 Bench: 15454427 --- .github/workflows/clang-format.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index dc42fdd6..028fe82b 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -11,8 +11,8 @@ jobs: strategy: matrix: path: - - 'src' - - 'tests' + - src + - tests steps: - name: Checkout Repo @@ -21,7 +21,7 @@ jobs: persist-credentials: false - name: Verify Formatting - uses: jidicula/clang-format-action@v4.15.0 + uses: jidicula/clang-format-action@v4.16.0 with: clang-format-version: '20' check-path: ${{ matrix.path }}