From bff276719f4504e2a812c6d042e464622d69edb7 Mon Sep 17 00:00:00 2001 From: "Y.Hisaki" Date: Thu, 12 Dec 2024 10:54:35 +0900 Subject: [PATCH] use clang-tidy-14 and run-clang-tidy-15 Signed-off-by: Y.Hisaki --- clang-tidy/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tidy/action.yaml b/clang-tidy/action.yaml index 5f7d8d68..47aeda9e 100644 --- a/clang-tidy/action.yaml +++ b/clang-tidy/action.yaml @@ -55,7 +55,7 @@ runs: - name: Install Clang-Tidy run: | sudo apt-get -yqq update - sudo apt-get -yqq install clang-tidy-15 libomp-15-dev + sudo apt-get -yqq install clang-tidy-14 libomp-14-dev clang-tidy-15 shell: bash - name: Set git config @@ -139,7 +139,7 @@ runs: if: ${{ steps.get-target-files.outputs.target-files != '' }} run: | mkdir /tmp/clang-tidy-result - run-clang-tidy-15 -p build/ -export-fixes /tmp/clang-tidy-result/fixes.yaml -j $(nproc) -use-color false ${{ steps.get-target-files.outputs.target-files }} > /tmp/clang-tidy-result/report.log || true + run-clang-tidy-15 -clang-tidy-binary /usr/bin/clang-tidy-14 -p build/ -export-fixes /tmp/clang-tidy-result/fixes.yaml -j $(nproc) -use-color false ${{ steps.get-target-files.outputs.target-files }} > /tmp/clang-tidy-result/report.log || true echo "${{ github.event.number }}" > /tmp/clang-tidy-result/pr-id.txt echo "${{ github.event.pull_request.head.repo.full_name }}" > /tmp/clang-tidy-result/pr-head-repo.txt echo "${{ github.event.pull_request.head.ref }}" > /tmp/clang-tidy-result/pr-head-ref.txt