CppCheck annotations in PRs #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cppcheck-annotations | |
on: | |
pull_request: | |
jobs: | |
build: | |
name: cppcheck-annotations | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run cppcheck-annotation-action | |
uses: Konstantin343/[email protected] | |
with: | |
std: 'c++20' | |
sources: 'src' | |
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' |