Skip to content

Commit

Permalink
TMP: use chmorgan/cppcheck-action
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 29, 2024
1 parent 26b12d2 commit 5ebfe80
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
name: cppcheck
name: cppcheck-action-test
on: [pull_request]

jobs:
cppchceck:
name: cppcheck
build:
name: cppcheck-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: cppcheck
uses: chmorgan/cppcheck-action@main
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 }}
comment_result: false
allow_approve: false
github_token: ${{ secrets.GITHUB_TOKEN}}

0 comments on commit 5ebfe80

Please sign in to comment.