2022-08-18 02:55:15 -07:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '42 0 * * 0'
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
2023-02-12 14:09:10 -07:00
|
|
|
- name: Install dependencies
|
2023-02-13 10:26:01 -07:00
|
|
|
run: ./.github/scripts/install_deps.sh
|
2022-08-18 02:55:15 -07:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v2
|
|
|
|
with:
|
2023-02-12 10:12:17 -07:00
|
|
|
languages: cpp
|
2022-08-18 02:55:15 -07:00
|
|
|
|
2023-02-12 10:12:17 -07:00
|
|
|
- run: make
|
2022-08-18 02:55:15 -07:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v2
|