Skip to content

cppcheck action

cppcheck action #3

Workflow file for this run

name: cppcheck-action
on: [push, pull_request]
jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: deep5050/cppcheck-action@v3.0
with:
enable: all
std: c++11
inconclusive: disable
output_file: ./cppcheck_report.txt
other_options: "--suppressions-list=.cppcheck.suppressions -j2"
- uses: actions/upload-artifact@v3
if: always()
with:
name: cppcheck
path: ./cppcheck_report.txt