From a32cb705f446e09cb4eeafbb8f2586056ddbafcf Mon Sep 17 00:00:00 2001 From: momo5502 Date: Tue, 18 Mar 2025 17:42:18 +0100 Subject: [PATCH] Clang Tidy Review --- .github/workflows/review.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/review.yml diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml new file mode 100644 index 00000000..be3779af --- /dev/null +++ b/.github/workflows/review.yml @@ -0,0 +1,25 @@ +name: Review +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Clang Tidy Review + uses: ZedThree/clang-tidy-review@v0.20.1 + id: review + with: + cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on + + - name: Upload Review + uses: ZedThree/clang-tidy-review/upload@v0.20.1 + id: upload-review + + - if: steps.review.outputs.total_comments > 0 + run: exit 1