Skip to content

Commit

Permalink
custom cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 29, 2024
1 parent 7137a51 commit 865de93
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
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]
- name: Install cppcheck
run: sudo apt-get install -y -q cppcheck

- name: checkout
uses: actions/checkout@v4
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
ref: ${{ github.ref }}

- name: Check
run: cppcheck src/

0 comments on commit 865de93

Please sign in to comment.