File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: codeql
33on :
44 push :
55 branches : [ "main" ]
6-
6+ paths-ignore :
7+ - ' test/**'
78
89concurrency :
910 group : ${{ github.workflow }}-${{ github.ref }}
@@ -19,22 +20,26 @@ jobs:
1920 runs-on : ubuntu-latest
2021 name : CodeQL Analysis
2122
22- strategy :
23- fail-fast : false
24- matrix :
25- language : [ 'csharp' ]
26-
2723 steps :
2824 - name : Checkout repository
2925 uses : actions/checkout@v6
3026
27+ - name : Setup .NET
28+ uses : actions/setup-dotnet@v5
29+ with :
30+ dotnet-version : ' 10.x'
31+
3132 - name : Initialize CodeQL
3233 uses : github/codeql-action/init@v4
3334 with :
34- languages : ${{ matrix.language }}
35+ languages : csharp
36+ build-mode : manual
37+
38+ - name : Restore src
39+ run : dotnet restore ./src
3540
36- - name : Autobuild
37- uses : github/codeql-action/autobuild@v4
41+ - name : Build src
42+ run : dotnet build ./src --no-restore -c Release
3843
3944 - name : Perform CodeQL Analysis
4045 uses : github/codeql-action/analyze@v4
You can’t perform that action at this time.
0 commit comments