From d2d0119bb9fd136d053a83b581cb3b245938c9bd Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Tue, 17 Feb 2026 15:13:34 +0100 Subject: [PATCH] [ci] Use home-baked clang-format action --- .github/workflows/style-check.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/style-check.yml b/.github/workflows/style-check.yml index 81f0e8383..00a55d952 100644 --- a/.github/workflows/style-check.yml +++ b/.github/workflows/style-check.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Run clang-format style check for C/C++ programs. - uses: jidicula/clang-format-action@v4.11.0 - with: - clang-format-version: '17' - exclude-regex: 'doctest.h' + - run: sudo apt install clang-format + - run: | + git fetch origin ${{ github.event.pull_request.base.sha }} + git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch + ! grep -q '^diff ' diff.patch inlining-check: runs-on: ubuntu-latest name: Check inline keyword usage