name: codeql | |||||
on: | |||||
push: | |||||
pull_request: | |||||
schedule: | |||||
- cron: '0 5 * * 3' | |||||
jobs: | |||||
codeql: | |||||
runs-on: ubuntu-20.04 | |||||
container: | |||||
image: "registry.gitlab.com/offa/docker-images/gcc-10:stable" | |||||
name: "CodeQL" | |||||
steps: | |||||
- name: Checkout | |||||
uses: actions/checkout@master | |||||
- name: CodeQL Initialization | |||||
uses: github/codeql-action/init@v1 | |||||
with: | |||||
languages: cpp | |||||
queries: +security-and-quality | |||||
- name: Build | |||||
run: script/ci_build.sh | |||||
- name: CodeQL Analysis | |||||
uses: github/codeql-action/analyze@v1 |