Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add GitHub action for clang-tidy #3177

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix syntax
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
cebtenzzre committed Dec 6, 2024
commit 48587d987bfbf54b9aba368633bfcf226ec1bb90
13 changes: 6 additions & 7 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
@@ -40,13 +40,12 @@ jobs:
-DLLMODEL_KOMPUTE=OFF
- uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
with:
style: '' # no clang-format
extensions: 'c,cpp,h,inl'
tidy-checks: '' # use .clang-tidy config
database: gpt4all-chat/build
version: 18
with:
style: '' # no clang-format
extensions: 'c,cpp,h,inl'
tidy-checks: '' # use .clang-tidy config
database: gpt4all-chat/build
version: 18
- name: Fail Fast
if: steps.linter.outputs.clang-tidy-checks-failed > 0
run: exit 1