Skip to content

Commit 60c7f8c

Browse files
committed
Tests: update to run on .NET 8
The new MSBuild package doesn't support execution under .NET 6 anymore.
1 parent 5150214 commit 60c7f8c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
- name: Fetch the sources
2727
uses: actions/checkout@v4
2828

29-
- name: Set up .NET 6.0 SDK
29+
- name: Set up .NET SDK
3030
uses: actions/setup-dotnet@v4
3131
with:
32-
dotnet-version: '6.0.x'
32+
dotnet-version: |
33+
6.0.x
34+
8.0.x
3335
3436
- name: Build NuGet packages
3537
shell: pwsh

PascalABC.NET.SDK.UnitTests/PascalABC.NET.SDK.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

0 commit comments

Comments
 (0)