From 7122657a84c7b7148e80d0ac76dfac34a135851e Mon Sep 17 00:00:00 2001 From: jeaye Date: Fri, 2 Feb 2024 21:05:56 +0000 Subject: [PATCH] Format only specific source directories --- .github/workflows/lint.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7a534f313..66614ff5a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,8 +18,18 @@ jobs: version: 2022.10.16--22.13.50 - name: Lint bash scripts run: ./bin/ci/lint - - name: Run clang-format + - name: Run clang-format on include/cpp uses: jidicula/clang-format-action@v4.11.0 with: clang-format-version: 16 - check-path: . + check-path: include/cpp + - name: Run clang-format on src/cpp + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: 16 + check-path: src/cpp + - name: Run clang-format on test/cpp + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: 16 + check-path: test/cpp