-
Notifications
You must be signed in to change notification settings - Fork 53
38 lines (35 loc) · 932 Bytes
/
Copy pathcodeql.yml
File metadata and controls
38 lines (35 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: codeql
on:
push:
pull_request:
schedule:
- cron: '0 5 * * 3'
permissions:
contents: read
pull-requests: read
security-events: write
jobs:
codeql:
runs-on: ubuntu-latest
container:
image: "registry.gitlab.com/offa/docker-images/gcc:15"
name: "CodeQL"
steps:
- name: Checkout
uses: actions/checkout@main
- uses: offa/conan-action@3cafebb5c0e5f620fff588bfc9706e124e1c33db
- name: Install dependencies
run: |
script/ci_setup.sh
add-apt-repository ppa:mhier/libboost-latest
apt-get update
apt-get install -y boost1.83
- name: CodeQL Initialization
uses: github/codeql-action/init@v4
with:
languages: cpp, actions
queries: +security-and-quality
- name: Build
run: script/ci_build.sh
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v4