Skip to content

Commit 49a790f

Browse files
authored
Create codeql.yml
1 parent 874fb58 commit 49a790f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: codeql
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: '0 5 * * 3'
7+
jobs:
8+
codeql:
9+
runs-on: ubuntu-latest
10+
name: "CodeQL"
11+
env:
12+
CC: gcc
13+
CXX: g++
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@main
17+
- name: CodeQL Initialization
18+
uses: github/codeql-action/init@v3
19+
with:
20+
languages: cpp
21+
queries: +security-and-quality
22+
- name: Build
23+
shell: bash
24+
run: script/ci.sh run_build
25+
- name: CodeQL Analysis
26+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)