commit 2f0f7242c441ffbb688385b7410c79230101c5ed parent 5aecb9206e745ae173743036bf501f9dfb28c0fb Author: Frederic Cambus <fred@statdns.com> Date: Thu, 28 Jan 2021 16:48:14 +0100 Add a new workflow to perform CodeQL Analysis (GitHub Actions). Diffstat:
A | .github/workflows/codeql.yaml | | | 27 | +++++++++++++++++++++++++++ |
1 file changed, 27 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml @@ -0,0 +1,27 @@ +name: "CodeQL analysis" + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -qy uthash-dev + + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@v1