From 25e3bb089c5698eacd7606a13a279384315d9105 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 12 Aug 2024 11:31:16 +0200 Subject: [PATCH] CodeQL --- .github/workflows/codeql.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 000000000..f0c7cd994 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,30 @@ +name: "CodeQL" + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + steps: + - name: Install deps + run: sudo apt-get install libreadline-dev + + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: true + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: cpp + queries: security-extended,security-and-quality + + - name: Build + run: make abc -j6 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3