mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-09 16:15:42 +00:00
fix(ci): test .NET versions separately
This commit is contained in:
parent
a7d7fee9bc
commit
87c63de53b
15
.github/workflows/dotnet.yml
vendored
15
.github/workflows/dotnet.yml
vendored
@ -16,7 +16,10 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v2
|
uses: actions/setup-dotnet@v2
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: |
|
||||||
|
6.0.x
|
||||||
|
7.0.x
|
||||||
|
8.0.x
|
||||||
|
|
||||||
- name: Add NuGet source
|
- name: Add NuGet source
|
||||||
run: dotnet nuget add source --username oliverbooth --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/oliverbooth/index.json"
|
run: dotnet nuget add source --username oliverbooth --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/oliverbooth/index.json"
|
||||||
@ -27,5 +30,11 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore --configuration Release
|
run: dotnet build --no-restore --configuration Release
|
||||||
|
|
||||||
- name: Test
|
- name: Test .NET 6
|
||||||
run: dotnet test --no-build --verbosity normal --configuration Release
|
run: dotnet test --no-build --verbosity normal --configuration Release --framework net6.0
|
||||||
|
|
||||||
|
- name: Test .NET 7
|
||||||
|
run: dotnet test --no-build --verbosity normal --configuration Release --framework net7.0
|
||||||
|
|
||||||
|
- name: Test .NET 8
|
||||||
|
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0
|
||||||
|
Loading…
Reference in New Issue
Block a user