From: Matthieu Gallien Date: Mon, 3 Oct 2022 19:05:50 +0000 (+0200) Subject: configure a list of checks for clang-tidy X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~229^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4e3e8be4f60797afa41ae1ff5f71c400a8b79d48;p=nextcloud-desktop.git configure a list of checks for clang-tidy Signed-off-by: Matthieu Gallien --- diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index 31e2f6be5..7a727059c 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -24,7 +24,7 @@ jobs: mkdir clang-tidy-result - name: Analyze run: | - git diff -U0 HEAD^ | clang-tidy-diff -p1 -path build -export-fixes clang-tidy-result/fixes.yml + git diff -U0 HEAD^ | clang-tidy-diff -checks='-*,modernize-use-auto,modernize-use-using,modernize-use-nodiscard,modernize-use-nullptr,modernize-use-override,cppcoreguidelines-pro-type-static-cast-downcast' -p1 -path build -export-fixes clang-tidy-result/fixes.yml - name: Run clang-tidy-pr-comments action uses: platisd/clang-tidy-pr-comments@master with: