diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml new file mode 100644 index 0000000..cbb167b --- /dev/null +++ b/.github/workflows/cppcheck.yml @@ -0,0 +1,20 @@ +name: Cppcheck +on: + workflow_dispatch: + push: + branches: [trunk] + pull_request: + branches: [trunk] + +permissions: + contents: read + +jobs: + cppcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Cppcheck + run: | + sudo apt install -y cppcheck + cppcheck .