-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 822 Bytes
/
Copy pathcodeql.yml
File metadata and controls
35 lines (29 loc) · 822 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
# isobit — CodeQL static analysis.
# SPDX-License-Identifier: MIT
name: codeql
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
schedule:
- cron: '31 3 * * 1' # Mondays, 03:31 UTC — off the hour
permissions:
contents: read
security-events: write
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: github/codeql-action/init@v3
with:
languages: c-cpp
queries: security-and-quality
- name: Configure
run: cmake -S . -B build -DISOBIT_BUILD_TESTS=OFF -DISOBIT_BUILD_BENCH=OFF -DISOBIT_BUILD_EXAMPLES=OFF
- name: Build
run: cmake --build build --target isobit
- uses: github/codeql-action/analyze@v3
with:
category: "/language:c-cpp"