summaryrefslogtreecommitdiff
path: root/.github/workflows/cppcheck.yml
blob: 666afd2772adb8eb7180b7c485c37f821912e9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Cppcheck action

on:
  push:
  pull_request:

jobs:
  build:
    name: cppcheck
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: cppcheck
        shell: bash
        run: |
          sudo apt install cppcheck
          cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --force . -i third_party/ -i class/template -i port/template/