Skip to content

Commit

Permalink
Try matrix again
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Feb 9, 2024
1 parent d624934 commit 9cf52a3
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,14 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
dotnetVersion: [3.1.x, 5.x, 6.x, 7.x, 8.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
dotnet-version: ${{ matrix.dotnetVersion }}
- run: dotnet build DacFx.sln
- run: dotnet pack DacFx.sln
- run: dotnet test DacFx.sln -f netcoreapp3.1
- run: dotnet test DacFx.sln -f net5.0
- run: dotnet test DacFx.sln -f net6.0
- run: dotnet test DacFx.sln -f net7.0
- run: dotnet test DacFx.sln -f net8.0
- run: dotnet test DacFx.sln

0 comments on commit 9cf52a3

Please sign in to comment.