ci: fix clang-tidy action

pull/2948/head
Aleksei Bavshin 2024-02-20 17:22:33 -08:00
parent efb2eb5073
commit 5fc2b97194
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ jobs:
run: |
meson -Dcpp_std=c++20 build # necessary to generate compile_commands.json
ninja -C build # necessary to find certain .h files (xdg, wayland, etc.)
- uses: actions/setup-python@v5
with:
python-version: '3.10' # to be kept in sync with cpp-linter-action
update-environment: true # the python dist installed by the action needs LD_LIBRARY_PATH to work
- uses: cpp-linter/cpp-linter-action@v2.9.1
name: clang-tidy
id: clang-tidy-check