Skip to content

Commit 85bc418

Browse files
Add explicit setup for .NET 7 for CodeQL workflow
1 parent 1a60288 commit 85bc418

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
queries: security-and-quality
2828
languages: csharp
2929

30+
- name: Setup .NET
31+
uses: actions/setup-dotnet@v3
32+
with:
33+
dotnet-version: 7.0.x
34+
3035
# build a temporary *.slnf file that only contains source projects and put it in ~/obj
3136
# so that it is not tracked by git. then run 'dotnet build' using the *.slnf, which
3237
# will preserve the dependency order and configuration of the *.sln

0 commit comments

Comments
 (0)