From: Andrew Cooper Date: Fri, 16 Apr 2021 23:43:16 +0000 (+0100) Subject: CI: Add Github Action for CodeQL analysis X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2f655c0c74439805ce6dbc6fd1f2e7defdaf33e5;p=xtf.git CI: Add Github Action for CodeQL analysis Signed-off-by: Andrew Cooper --- diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..c9f66fc --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,28 @@ +name: CodeQL + +on: + push: + pull_request: + schedule: + - cron: '30 12 * * 3' + +jobs: + analyse: + + strategy: + matrix: + lang: [ 'cpp', 'python' ] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: github/codeql-action/init@v1 + with: + languages: ${{matrix.lang}} + queries: security-and-quality + + - uses: github/codeql-action/autobuild@v1 + + - uses: github/codeql-action/analyze@v1