File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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 }}
You can’t perform that action at this time.
0 commit comments