Skip to content

Commit 4e3afdd

Browse files
fix codeql
1 parent 65f58d8 commit 4e3afdd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ jobs:
5353
uses: github/codeql-action/init@v2
5454
with:
5555
languages: ${{ matrix.language }}
56+
- name: Setup dotnet
57+
uses: actions/setup-dotnet@v4
58+
with:
59+
dotnet-version: |
60+
9.0.x
61+
7.0.x
5662
# If you wish to specify custom queries, you can do so here or in a config file.
5763
# By default, queries listed here will override any specified in a config file.
5864
# Prefix the list here with "+" to use these queries and those in the config file.
@@ -78,6 +84,9 @@ jobs:
7884

7985
- name: Perform CodeQL Analysis
8086
uses: github/codeql-action/analyze@v2
87+
dotnet-version: |
88+
9.0.x
89+
7.0.x
8190
with:
8291
category: "/language:${{matrix.language}}"
8392

0 commit comments

Comments
 (0)