From a559a4087561759003068e591e3b4e86ad85bd85 Mon Sep 17 00:00:00 2001 From: Di WANG Date: Mon, 23 Oct 2023 23:59:26 -0700 Subject: [PATCH] try action --- cpp/.github/workflows/cppcheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cpp/.github/workflows/cppcheck.yml diff --git a/cpp/.github/workflows/cppcheck.yml b/cpp/.github/workflows/cppcheck.yml new file mode 100644 index 0000000..a2d84c3 --- /dev/null +++ b/cpp/.github/workflows/cppcheck.yml @@ -0,0 +1,21 @@ +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: 'main' # your branch name goes here