File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CodeQL
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+ branches :
10+ - main
11+ - master
12+ schedule :
13+ - cron : " 0 0 * * 0"
14+ workflow_dispatch :
15+
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ jobs :
22+ analyze :
23+ name : Analyze C#
24+ runs-on : windows-latest
25+ timeout-minutes : 60
26+
27+ strategy :
28+ fail-fast : false
29+ matrix :
30+ include :
31+ - language : csharp
32+ build-mode : manual
33+
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v4
37+
38+ - name : Setup .NET
39+ uses : actions/setup-dotnet@v4
40+ with :
41+ dotnet-version : " 8.0.x"
42+
43+ - name : Initialize CodeQL
44+ uses : github/codeql-action/init@v4
45+ with :
46+ languages : ${{ matrix.language }}
47+ build-mode : ${{ matrix.build-mode }}
48+
49+ - name : Restore
50+ run : dotnet restore "ThreadPilot_1.sln"
51+
52+ - name : Build Release
53+ run : dotnet build "ThreadPilot_1.sln" --configuration Release --no-restore
54+
55+ - name : Perform CodeQL Analysis
56+ uses : github/codeql-action/analyze@v4
57+ with :
58+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments