Skip to content

Commit 745da83

Browse files
author
fabien.menager
committed
Fix build
1 parent e7bb38e commit 745da83

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/dotnet-test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,18 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
dotnet-version: [ '8.0.x', '9.0.x' ]
18+
dotnet: [
19+
{ tfm: net8.0, version: 8.0.x },
20+
{ tfm: net9.0, version: 9.0.x },
21+
]
1922

2023
steps:
2124
- uses: actions/checkout@v4
2225

23-
- name: Setup .NET ${{ matrix.dotnet-version }}
26+
- name: Setup .NET ${{ matrix.dotnet.version }}
2427
uses: actions/setup-dotnet@v4
2528
with:
26-
dotnet-version: ${{ matrix.dotnet-version }}
29+
dotnet-version: ${{ matrix.dotnet.version }}
2730

2831
- name: Display dotnet version
2932
run: dotnet --version
@@ -32,7 +35,7 @@ jobs:
3235
run: dotnet restore
3336

3437
- name: Build
35-
run: dotnet build --no-restore
38+
run: dotnet build --no-restore --framework ${{ matrix.dotnet.tfm }}
3639

3740
- name: Test
38-
run: dotnet test --no-build --verbosity normal
41+
run: dotnet test --no-build --verbosity normal --framework ${{ matrix.dotnet.tfm }}

0 commit comments

Comments
 (0)