From 3195f2cec26b95fc9faa4972c3fe8dfc2bf60af1 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Wed, 19 Jul 2023 14:19:59 -0300 Subject: [PATCH] codeql --- .github/workflows/codeql.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 00000000..056e4c6d --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,33 @@ +name: "CodeQL Scanning" +# https://github.com/github/codeql-action + +on: + push: + paths: + - "Makefile" + - "mongoose.c" + - "mongoose.h" + - test/unit-test + - test/mip-test + +jobs: + CodeQL-Build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + permissions: + security-events: write + steps: + - uses: actions/checkout@v3 + with: { fetch-depth: 2 } + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: cpp + - run: | + make test + make mip_test + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2