Skip to content

Commit 9c7df6b

Browse files
authored
ci: Add .NET setup to CodeQL GitHub Actions workflow
Autobuild doesn't install .NET 8 and .NET 9, which is required for this kind of multi-targeting.
1 parent 6b06044 commit 9c7df6b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
with:
4141
fetch-depth: 0
4242

43+
- name: Setup .NET
44+
uses: actions/setup-dotnet@v4
45+
with:
46+
global-json-file: global.json
47+
4348
# Initializes the CodeQL tools for scanning.
4449
- name: Initialize CodeQL
4550
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)