Skip to content

Commit

Permalink
Cppcheck: add ci cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 29, 2024
1 parent 6db9ee4 commit 4f1dda1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: cppcheck
on: [pull_request]

jobs:
cppchceck:
name: Cppcheck
runs-on: ubuntu-latest
steps:
- name: Setup
run: sudo apt-get install -y -q cppcheck

- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}

- name: Check
run: cppcheck --quiet --error-exitcode=1 src/

0 comments on commit 4f1dda1

Please sign in to comment.