Update CI workflow to also use clang-tidy linter

This commit is contained in:
Martin Leitner-Ankerl
2025-10-07 19:25:42 +02:00
parent 72ed69de56
commit c00b36e237

View File

@@ -16,18 +16,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
# Not using clang-format linting because everybody has their own version of it. I'll just do it manually from time to time.
# - name: Cache APT packages
# uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: clang-format
# version: 1.0
- name: Cache APT packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: clang-tidy
version: 1.0
- uses: actions/setup-python@v6
with:
python-version: '3.x'
cache: 'pip'
- run: ./scripts/lint/lint-version.py
# - run: ./scripts/lint/lint-clang-format.py
- run: ./scripts/lint/lint-clang-tidy.py
linux:
runs-on: ubuntu-latest