Skip to content

Commit

Permalink
Install cppcheck, run verison check
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Jul 28, 2023
1 parent c2b23e8 commit 7a39f5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
non-cuda-sub-packages: '["libcufft-dev", "libcublas-dev"]'
linux-local-args: '["--toolkit"]'

- name: Install pre-commit
- name: Install pre-commit and cppcheck
run: |
pip install pre-commit
sudo apt install cppcheck -y
- name: Generate compilation database
shell: bash -el {0}
Expand All @@ -72,5 +73,6 @@ jobs:
shell: bash -el {0}
run: |
git diff --name-only ${{ env.precommit_from_ref }}...${{ env.precommit_to_ref }}
clang-format --version
pre-commit run -a
#pre-commit run --from-ref ${{ env.precommit_from_ref }} --to-ref ${{ env.precommit_to_ref }}

0 comments on commit 7a39f5c

Please sign in to comment.