Skip to content

Commit

Permalink
clang-tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanisho committed Apr 25, 2024
1 parent b5083a2 commit 2056b83
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ jobs:
- name: Build project
run: |
mkdir build
mkdir -p build
cd build
cmake ..
make
- name: Run Clang-Tidy
- name: Run Clang-Tidy on all C++ files
run: |
clang-tidy ../*.cpp -- -I../include -std=c++20
cd build
# Find all .cpp files in the repository and run Clang-Tidy on each
for file in $(find ../ -name '*.cpp'); do
clang-tidy "$file" -- -I../include -std=c++20
done

0 comments on commit 2056b83

Please sign in to comment.