From ec9e236c2e35b5e7c1fe7da39df98f7b29f56743 Mon Sep 17 00:00:00 2001 From: Bryan Wilder Field Lozano Date: Tue, 15 Oct 2024 15:57:05 -0700 Subject: [PATCH] #13782: Parallelize clang-tidy (#13836) --- .github/workflows/all-static-checks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/all-static-checks.yaml b/.github/workflows/all-static-checks.yaml index 87d66eb5b4a..3f8857d0fed 100644 --- a/.github/workflows/all-static-checks.yaml +++ b/.github/workflows/all-static-checks.yaml @@ -94,7 +94,7 @@ jobs: mkdir clang-tidy-result - name: Analyze run: | - git diff -U0 "$(git merge-base HEAD "upstream/${{ github.event.pull_request.base.ref }}")" | clang-tidy-diff-17.py -p1 -path build -export-fixes clang-tidy-result/fixes.yml + git diff -U0 "$(git merge-base HEAD "upstream/${{ github.event.pull_request.base.ref }}")" | clang-tidy-diff-17.py -p1 -path build -export-fixes clang-tidy-result/fixes.yml -j4 - name: Run clang-tidy-pr-comments action uses: platisd/clang-tidy-pr-comments@837ad8077b1f554dab31a8a43e8bb12c89d2f144 with: @@ -109,6 +109,6 @@ jobs: # to avoid GitHub API timeouts for heavily loaded # pull requests suggestions_per_comment: 10 - continue-on-error: true + continue-on-error: true - name: Final step to signal success run: echo "The job passes even if 3rd party action fails."