mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-04-04 14:08:34 +00:00
cppcheck
This commit is contained in:
parent
b6f7db49f6
commit
74f4c3872c
2 changed files with 17 additions and 21 deletions
17
.github/workflows/build_check.yml
vendored
17
.github/workflows/build_check.yml
vendored
|
|
@ -79,3 +79,20 @@ jobs:
|
|||
clang-format-version: '11'
|
||||
check-path: ${{ matrix.path }}
|
||||
|
||||
cppcheck:
|
||||
name: Run Cppcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run Cppcheck
|
||||
uses: Bedzior/cppcheck-action@v1.0
|
||||
with:
|
||||
enabled checks: all
|
||||
enable inconclusive: true
|
||||
generate report: true
|
||||
- name: Upload report
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: report
|
||||
path: output
|
||||
|
||||
|
|
|
|||
21
.github/workflows/cppcheck.yml
vendored
21
.github/workflows/cppcheck.yml
vendored
|
|
@ -1,21 +0,0 @@
|
|||
name: cppcheck-action-test
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: cppcheck-test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: cppcheck
|
||||
uses: deep5050/cppcheck-action@main
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN}}
|
||||
|
||||
|
||||
- name: publish report
|
||||
uses: mikeal/publish-to-github-action@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH_NAME: 'develop' # your branch name goes here
|
||||
Loading…
Add table
Add a link
Reference in a new issue