Skip to content

Commit

Permalink
Create cppcheck.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisu authored Sep 27, 2024
1 parent 2b6eebc commit bb79408
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/

0 comments on commit bb79408

Please sign in to comment.