Skip to content

Modified clang-tidy #11

Modified clang-tidy

Modified clang-tidy #11

Workflow file for this run

name: Clang-Tidy CI
on:
# Run the workflow on every pull request to the main branch
pull_request:
branches:
- main
# Optionally, run the workflow on each push to the repository
push:
branches:
- main
jobs:
clang_tidy_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up build environment
run: |
sudo apt update
sudo apt install -y clang-tidy cmake build-essential
- name: Build project
run: |
mkdir build
cd build
cmake ..
make
- name: Run Clang-Tidy
run: |
find . -name '*.cpp' | xargs clang-tidy -- -I../include -std=c++20