Skip to content

Commit 22983e0

Browse files
committed
use database
1 parent 47a1f25 commit 22983e0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/cpp-linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ jobs:
1818
1919
- uses: actions/checkout@v5
2020

21+
- name: run cmake
22+
run: |
23+
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
24+
2125
- name: C/C++ Linter
2226
uses: cpp-linter/cpp-linter-action@v2.16.5
2327
id: linter
2428
env:
2529
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2630
with:
2731
version: 21
28-
extra-args: '-std=c++17'
32+
database: build
2933
style: '' # disable clang-format checks.
3034
tidy-checks: '' # Use .clang-tidy config file.

0 commit comments

Comments
 (0)