Skip to content

Commit

Permalink
SQUASH: use Konstantin343/cppcheck-annotation-action
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 29, 2024
1 parent a888ba6 commit 4692d44
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
name: cppcheck-action-test
name: cppcheck-annotations

on: [pull_request]

jobs:
build:
name: cppcheck-test
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: cppcheck
uses: chmorgan/cppcheck-action@main
- name: Annotate lines with errors
uses: yuzutech/annotations-action@v0.4.0
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'Results of CppCheck'
input: 'annotations.json'

0 comments on commit 4692d44

Please sign in to comment.