-
Notifications
You must be signed in to change notification settings - Fork 145
57 lines (44 loc) · 1.35 KB
/
workflow_codeql.yml
File metadata and controls
57 lines (44 loc) · 1.35 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
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "Workflow / Code Scanning - CodeQL"
on:
workflow_call:
workflow_dispatch:
jobs:
CodeQL:
runs-on: windows-2022
permissions:
# required for all workflows
security-events: write
steps:
- name: Folder for Visual Studio 2019 Community
run: |
mkdir "C:\Program Files (x86)\Microsoft Visual Studio\2019\"
shell: cmd
- name: Link to Visual Studio 2019 Community
run: |
mklink /J "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community" "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
shell: cmd
- name: Setup Java JDK
uses: actions/setup-java@v5
with:
java-version: 8
architecture: x86
distribution: temurin
- name: Setup NSIS
run: |
choco install --yes nsis --version=3.11 --force
- name: Git Checkout
uses: actions/checkout@v6
- name: Git Submodule Update
run: |
git submodule update --init --recursive
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
- name: Build
run: |
BuildFullinstaller.cmd
working-directory: ${{ github.workspace }}\Build
shell: cmd
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4