build: replace check-single-includes with clang-tidy (#22061)

Clang-tidy already does what check-single-includes does automatically on
top of its regular linting. It is also generator independent, so it
doesn't take an eternity to run on slower generators such as Visual
Studio.
This commit is contained in:
dundargoc
2023-02-08 18:16:48 +01:00
committed by GitHub
parent f4c836ad70
commit d6d3a92013
4 changed files with 18 additions and 28 deletions

View File

@@ -171,8 +171,7 @@ jobs:
run: cmake --build build --target lintc-clint
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
name: check-single-includes
run: make check-single-includes
run: cmake --build build --target clang-tidy
- name: Cache dependencies
run: ./ci/before_cache.sh