2021-03-11 08:55:05 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
2021-08-15 13:51:50 +00:00
|
|
|
# @see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
|
|
|
|
on: [push, pull_request]
|
2021-03-11 08:55:05 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
2021-08-15 13:51:50 +00:00
|
|
|
name: actions-codeql-analyze
|
2021-03-11 08:55:05 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'cpp' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
|
|
|
|
- name: Build SRS
|
|
|
|
run: |
|
|
|
|
cd trunk && ./configure && make
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|