Skip to content

Commit

Permalink
Cppcheck: add ci cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 29, 2024
1 parent fceadbb commit 82f3ce8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: cppcheck
on: [pull_request]

jobs:
cppchceck:
name: cppcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- uses: linuxdeepin/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
pull_request_id: ${{ github.event.pull_request.number }}
enable_checks: warning --inline-suppr
allow_approve: false
comment_result: false

0 comments on commit 82f3ce8

Please sign in to comment.