From 34298dbbafb105d50bce83442f10e30e2d3cdfd0 Mon Sep 17 00:00:00 2001 From: GOB Date: Fri, 21 Nov 2025 15:41:04 +0900 Subject: [PATCH] Fixes conditions --- .github/workflows/clang-format-check.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index bb38931..0c93b67 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -11,7 +11,6 @@ on: branches: - '*' paths: - - '*' - '**.ino' - '**.cpp' - '**.hpp' @@ -32,20 +31,27 @@ on: - '**.clang-format' workflow_dispatch: +defaults: + run: + shell: bash + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: formatting-check: name: Formatting Check - runs-on: [self-hosted, Linux, X64] + runs-on: ubuntu-latest strategy: matrix: path: - - check: './' # path to include - exclude: '' # path to exclude - #- check: 'src' - # exclude: '(Fonts)' # Exclude file paths containing "Fonts" - #- check: 'examples' - # exclude: '' - + - check: 'src' + exclude: '' + - check: 'test' + exclude: '' + - check: 'examples' + exclude: '' steps: - name: Checkout uses: actions/checkout@v4