Skip to content

Update cppcheck.yml

Update cppcheck.yml #2

Workflow file for this run

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: disable
skip_preprocessor: disable
enable: all
exclude_check: ./thirdparty
inconclusive: disable
inline_suppression: disable
force_language: c
force: enable
max_ctu_depth: 12
platform: unix32
std: c99
output_file: ./cppcheck_report.txt
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