-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 823 Bytes
/
codeql.yml
File metadata and controls
42 lines (34 loc) · 823 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
39
40
41
42
name: "CodeQL Analysis"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * 0' # Run once a week on Sunday
jobs:
analyze:
name: Analyze
runs-on: windows-latest
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: |
.\build.bat x64 release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3