Skip to content

Commit 830ffee

Browse files
committed
Update codeql-analysis.yml
1 parent fc8ff2c commit 830ffee

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,18 @@ jobs:
3737
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3838
# Analyzes C# code by automatically detecting a build
3939
- language: csharp
40-
build-mode: manual #autobuild #none
40+
build-mode: autobuild #manual #none
4141

4242

4343
steps:
4444
- name: Checkout repository
4545
uses: actions/checkout@v4
4646

47+
- name: Set up .NET 9.0
48+
uses: actions/setup-dotnet@v4
49+
with:
50+
dotnet-version: 9.x
51+
4752
# Initializes the CodeQL tools for scanning.
4853
- name: Initialize CodeQL
4954
uses: github/codeql-action/init@v3
@@ -56,8 +61,8 @@ jobs:
5661

5762
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5863
# If this step fails, then you should remove it and run the build manually (see below)
59-
#- name: Autobuild
60-
# uses: github/codeql-action/autobuild@v3
64+
- name: Autobuild
65+
uses: github/codeql-action/autobuild@v3
6166

6267
# ℹ️ Command-line programs to run using the OS shell.
6368
# 📚 https://git.io/JvXDl
@@ -66,8 +71,8 @@ jobs:
6671
# and modify them (or add more) to build your code if your project
6772
# uses a compiled language
6873

69-
- run: |
70-
dotnet build
74+
#- run: |
75+
# dotnet build
7176

7277
- name: Perform CodeQL Analysis
7378
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)