Skip to content

Add code quality checks #22

Add code quality checks

Add code quality checks #22

Workflow file for this run

name: cppcheck-annotations
on: [pull_request]
jobs:
build:
name: cppcheck-annotations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Run cppcheck-annotation-action
uses: Konstantin343/[email protected]
with:
std: 'c++14'
platform: 'unix64'
log-level: 'verbose'
- name: Annotate lines with errors
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'Results of CppCheck'
input: 'annotations.json'