Skip to content

Commit

Permalink
Add explicit use net9 task
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed May 15, 2024
1 parent 8f69196 commit 75a2309
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
targetFramework: net9.0
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4 # Latest version is always required
with:
dotnet-version: 9.x
dotnet-quality: preview
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnetVersion }}
dotnet-quality: preview
- run: dotnet build DacFx.sln -f ${{ matrix.targetFramework }}
- run: dotnet pack DacFx.sln --no-build -f ${{ matrix.targetFramework }}
- run: dotnet build DacFx.sln
- run: dotnet pack DacFx.sln --no-build
- run: dotnet test DacFx.sln --no-build -f ${{ matrix.targetFramework }}

0 comments on commit 75a2309

Please sign in to comment.