Skip to content

add cppcheck workflow #2

add cppcheck workflow

add cppcheck workflow #2

Workflow file for this run

name: cppcheck
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: cppcheck-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cppcheck
uses: deep5050/cppcheck-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: publish report
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main' # your branch name goes here