Skip to content

cppcheck action

cppcheck action #6

Workflow file for this run

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