forked from mkaring/ConfuserEx
-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (37 loc) · 944 Bytes
/
Copy pathcodeql-analysis.yml
File metadata and controls
47 lines (37 loc) · 944 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
43
44
45
46
47
name: "CodeQL"
on:
push:
branches: [master, release/*]
pull_request:
branches: [master]
schedule:
- cron: "26 4 * * 0"
permissions:
contents: read
security-events: write
pull-requests: read
actions: read
jobs:
analyze:
name: Analyze
runs-on: windows-2025
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore
run: msbuild Confuser2.sln -t:Restore -verbosity:minimal
- name: Build
run: msbuild Confuser2.sln -p:Configuration=Release -verbosity:minimal
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3