-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.01 KB
/
Copy pathcodeql.yml
File metadata and controls
44 lines (40 loc) · 1.01 KB
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
39
40
41
42
43
44
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "37 9 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: codeql / ubuntu-latest / cpp
runs-on: ubuntu-latest
env:
CC: gcc-14
CXX: g++-14
permissions:
actions: read
contents: read
packages: read
security-events: write
steps:
- uses: actions/checkout@v7
# Tool pins live in .github/ci.env, shared across workflows.
- name: Load CI env
run: cat .github/ci.env >> "$GITHUB_ENV"
- run: sudo apt-get update && sudo apt-get install -y gcc-14 g++-14
- uses: github/codeql-action/init@v4.37.6
with:
languages: c-cpp
- uses: conan-io/setup-conan@v1
with:
version: ${{ env.CONAN_VERSION }}
cache_packages: true
- run: make release
- uses: github/codeql-action/analyze@v4.37.6