Skip to content

cppcheck

cppcheck #18

Workflow file for this run

name: cppcheck-action-test
on: [push]
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: Print current branch
run: echo "Current branch is ${{ github.ref }}"
- name: Print current branch
run: echo "Current branch is ${GITHUB_REF#refs/heads/}"
- name: publish report
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${GITHUB_REF#refs/heads/}