Skip to content

Commit

Permalink
build: add cppcheck to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxHarmonium committed Apr 4, 2021
1 parent 0de63dc commit 2f0ca3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ jobs:
command: clippy
args: -- -D warnings


cppcheck:
name: cppcheck
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install cppcheck
run: sudo apt-get install cppcheck
- name: Run cppcheck
run: cppcheck --std=c89 --enable=all --error-exitcode=1 macbrew-ui/

coverage:
name: Code coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2f0ca3e

Please sign in to comment.