Skip to content

Commit

Permalink
Removed CodeQL autobuild with compilation on multiple .NET versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Nov 18, 2024
1 parent 0337a2e commit 2424223
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
strategy:
matrix:
language: [ csharp ]
framework: [ "net8.0-windows10.0.22621.0", "net9.0-windows10.0.22621.0" ]
fail-fast: false
steps:
- name: Checkout repository
Expand All @@ -27,8 +28,14 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.x"
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -f ${{ matrix.framework }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down

0 comments on commit 2424223

Please sign in to comment.