From 138368d8ecb00f9c00fba2d96a29350e70bf085f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Ferenc=20Nagy-Egri?= Date: Wed, 18 Feb 2026 14:32:01 +0100 Subject: [PATCH] ci: Omit using jidicula/clang-format until fixed --- .github/workflows/ci.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bb8e37..0cde966 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,15 +32,21 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false + env: + CLANG_FORMAT_VERSION: 18 + CLANG_FORMAT_FILES: "*.c *.h *.cpp *.hpp" steps: - - uses: actions/checkout@v4 - - name: Run clang-format - uses: jidicula/clang-format-action@v4.13.0 - with: - clang-format-version: '14' - check-path: ${{ matrix.path }} + - name: ${{ format('Checkout {0}', github.repository) }} + uses: actions/checkout@v4 + - name: Check code formatting + run: | + for f in $(git ls-files -- ${CLANG_FORMAT_FILES}); do + echo "Checking $f" + clang-format-${CLANG_FORMAT_VERSION} -i --Werror "$f" + done + git diff --exit-code - name: REUSE Compliance Check - uses: fsfe/reuse-action@v4.0.0 + uses: fsfe/reuse-action@v5.0.0 codegen: needs: check_emu