Skip to content

Commit 4abd400

Browse files
committed
build: remove unsupported frameworks, separately test each supported framework target
1 parent 38d9172 commit 4abd400

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- name: Setup .NET Core 2.1
24-
uses: actions/setup-dotnet@v4
25-
with:
26-
dotnet-version: 2.1.x
27-
28-
- name: Setup .NET Core 3.1
29-
uses: actions/setup-dotnet@v4
30-
with:
31-
dotnet-version: 3.1.x
32-
3323
- name: Setup .NET Core 6.0
3424
uses: actions/setup-dotnet@v4
3525
with:
@@ -56,8 +46,17 @@ jobs:
5646
- name: Build
5747
run: dotnet build --configuration $config --no-restore
5848

59-
- name: Test
60-
run: dotnet test src/NetCoreForce.Client.Tests --configuration $config --no-restore --no-build --verbosity normal
49+
- name: Test net6.0
50+
run: dotnet test src/NetCoreForce.Client.Tests --configuration $config --no-restore --no-build --verbosity normal --framework net6.0
51+
52+
- name: Test net7.0
53+
run: dotnet test src/NetCoreForce.Client.Tests --configuration $config --no-restore --no-build --verbosity normal --framework net7.0
54+
55+
- name: Test net8.0
56+
run: dotnet test src/NetCoreForce.Client.Tests --configuration $config --no-restore --no-build --verbosity normal --framework net8.0
57+
58+
- name: Test net9.0
59+
run: dotnet test src/NetCoreForce.Client.Tests --configuration $config --no-restore --no-build --verbosity normal --framework net9.0
6160

6261
- name: Upload nuget artifact
6362
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)