From fb13f33f65db05cff70c2e1bb1bf7ba51f64f513 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 22 Dec 2024 00:57:13 +0100 Subject: [PATCH] CI: apply clang-format also to tests and utils folders --- .github/workflows/main.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd27401a5..5851f58da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,13 +113,22 @@ jobs: clang-format: runs-on: ubuntu-latest + strategy: + matrix: + path: + - check: 'src' + exclude: '' + - check: 'tests' + exclude: '' + - check: 'utils' + exclude: '(matlab|scripts|python)' steps: - uses: actions/checkout@v4 - name: run clang-format - uses: jidicula/clang-format-action@v4.11.0 + uses: jidicula/clang-format-action@v4 with: clang-format-version: "15" - check-path: "src" + check-path: ${{ matrix.path }} exclude-regex: '(libs\/gsl\/)|^.*\.(cu|proto)$' clang-tidy: