configure a list of checks for clang-tidy

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2022-10-03 21:05:50 +02:00
parent ca30859831
commit 4e3e8be4f6
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -24,7 +24,7 @@ jobs:
mkdir clang-tidy-result mkdir clang-tidy-result
- name: Analyze - name: Analyze
run: | 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 - name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@master uses: platisd/clang-tidy-pr-comments@master
with: with: