diff --git a/.github/workflows/cppcheck.yaml b/.github/workflows/cppcheck.yaml new file mode 100644 index 00000000..ee05159b --- /dev/null +++ b/.github/workflows/cppcheck.yaml @@ -0,0 +1,18 @@ +name: cppcheck-action-test +on: [push] # yamllint disable-line rule:truthy + +jobs: + build: + name: cppcheck-test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: cppcheck + uses: deep5050/cppcheck-action@main + with: + github_token: ${{ secrets.GITHUB_TOKEN}} + + - name: cat report + run: | + cat cppcheck_report.txt