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 f1eb446
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: cppcheck-action
on: [push]

jobs:
build:
name: cppcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cppcheck
uses: deep5050/cppcheck-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
check_library:
skip_preprocessor:
enable:
exclude_check: ./thirdparty
inconclusive:
inline_suppression:
force_language:
force:
max_ctu_depth:
platform: unix32
std: c99
output_file:
other_options:

- name: publish report
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'master' # your branch name goes here

0 comments on commit f1eb446

Please sign in to comment.