CI: verify clang-tidy config before running (#5291)

This commit is contained in:
Alexandru Ionut Tripon 2026-04-03 12:08:05 +00:00 committed by GitHub
commit 3656335666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,5 +49,5 @@ jobs:
BASE_REF: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }}
run: |
nix develop --command bash -c '
git diff -U0 --no-color "$BASE_REF" | clang-tidy-diff.py -p1
clang-tidy -verify-config && git diff -U0 --no-color "$BASE_REF" | clang-tidy-diff.py -p1 -quiet -only-check-in-db
'