mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-04-18 00:06:55 -04:00
change(CI): verify clang-tidy config before running
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
2
.github/workflows/clang-tidy.yml
vendored
2
.github/workflows/clang-tidy.yml
vendored
@@ -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
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user