kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
cppcheck
rodzic
b6f7db49f6
commit
74f4c3872c
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Ładowanie…
Reference in New Issue