-
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (29 loc) · 787 Bytes
/
Copy pathcodeql.yml
File metadata and controls
33 lines (29 loc) · 787 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
name: CodeQL
on:
repository_dispatch:
types: [codeql]
jobs:
build:
name: CodeQL
runs-on: windows-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Check out source code
uses: actions/checkout@v2
with:
# needed to calc build number via git log --oneline
fetch-depth: 0
- name: Initialize CodeQL for C++
uses: github/codeql-action/init@v1
with:
languages: cpp
queries: security-and-quality
- name: Build
env:
CERT_PWD: ${{ secrets.CERT_PWD }}
run: .\doit.bat -ci
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1