Skip to content

Remove tests for .NET SDK 3.1 and 5, add tests for .NET 9 #26

Remove tests for .NET SDK 3.1 and 5, add tests for .NET 9

Remove tests for .NET SDK 3.1 and 5, add tests for .NET 9 #26

Workflow file for this run

name: pr-validation
on: pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
dotnetVersion: [6.x, 7.x, 8.x, 9.x]
include:
- dotnetVersion: 6.x
targetFramework: net6.0
- dotnetVersion: 7.x
targetFramework: net7.0
- dotnetVersion: 8.x
targetFramework: net8.0
- dotnetVersion: 9.x
targetFramework: net9.0
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnetVersion }}
dotnet-quality: preview
- run: dotnet build DacFx.sln
- run: dotnet pack DacFx.sln --no-build
- run: dotnet test DacFx.sln --no-build -f ${{ matrix.targetFramework }}