From 74f4c3872cb44d86d9ba3c97406c4bf847966888 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Sat, 15 May 2021 17:16:58 +0200 Subject: [PATCH] cppcheck --- .github/workflows/build_check.yml | 17 +++++++++++++++++ .github/workflows/cppcheck.yml | 21 --------------------- 2 files changed, 17 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/cppcheck.yml diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 0cbe379..894609f 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -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 + diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml deleted file mode 100644 index 1e2d257..0000000 --- a/.github/workflows/cppcheck.yml +++ /dev/null @@ -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