Skip to content

CI: Check code with clang-tidy #2

CI: Check code with clang-tidy

CI: Check code with clang-tidy #2

Workflow file for this run

name: clang-tidy
on:
push:
branches: [main]
release:
types: [published]
branches: [main]
pull_request:
workflow_dispatch:
jobs:
run:
name: Run clang-tidy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
sudo apt upgrade -y
sudo apt install --no-install-recommends build-essential ninja-build clang-tidy python3
- name: Configure with CMake
run: |
cmake --preset=linux-debug
- uses: ammaraskar/gcc-problem-matcher@master
- name: Run clang-tidy
run: ./run-clang-tidy.py out/build/linux-debug