Skip to content

add github workflow for cppcheck #11

add github workflow for cppcheck

add github workflow for cppcheck #11

Workflow file for this run

name: Cppcheck
on:
push:
pull_request:
jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install cppcheck
run: sudo apt-get install -y cppcheck
- name: Run cppcheck
run: cppcheck --version && cppcheck --exclude="../../src/third_party" . --error-exitcode=1