mirror of
https://github.com/martinus/unordered_dense.git
synced 2026-01-18 17:21:27 +01:00
Update CI workflow to also use clang-tidy linter
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user