Skip to content

github: add clazy to linting workflow #2

github: add clazy to linting workflow

github: add clazy to linting workflow #2

Workflow file for this run

---
name: Lint
on: [push, pull_request]
jobs:
codespell:
name: Codespell
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Codespell
uses: codespell-project/[email protected]
clazy:
name: Clazy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure
run: |
cmake -S gpt4all-chat -B gpt4all-chat/build \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLMODEL_CUDA=OFF \
-DLLMODEL_KOMPUTE=OFF
- name: Clazy
uses: MinyazevR/[email protected]
with:
checks: "level0,no-container-anti-pattern,no-qstring-arg,no-qstring-ref,no-strict-iterators,no-unused-non-trivial-variable"
install-stable: true
database: gpt4all-chat/build