Skip to content

Commit febb7d0

Browse files
committed
chore: build and test on .NET 8
1 parent 08dba6b commit febb7d0

File tree

7 files changed

+39
-49
lines changed

7 files changed

+39
-49
lines changed

.config/dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"paket": {
6-
"version": "6.2.1",
6+
"version": "8.0.3",
77
"commands": [
88
"paket"
99
]

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup .NET Core
3232
uses: actions/setup-dotnet@v1
3333
with:
34-
dotnet-version: 6.0.100
34+
dotnet-version: 8.0.100
3535
- name: Paket restore
3636
run: |
3737
dotnet tool restore
@@ -94,7 +94,7 @@ jobs:
9494
- name: Setup .NET Core
9595
uses: actions/setup-dotnet@v1
9696
with:
97-
dotnet-version: 6.0.100
97+
dotnet-version: 8.0.100
9898
- name: Download Artifact
9999
uses: actions/download-artifact@v4
100100
with:

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "6.0.100",
3+
"version": "8.0.100",
44
"allowPrerelease": true,
55
"rollForward": "major"
66
}

paket.dependencies

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ nuget TypeShape >= 10.0.0
1010
group test
1111
source https://api.nuget.org/v3/index.json
1212
storage: none
13-
framework: net6.0
13+
framework: net8.0
1414

1515
nuget FsCheck
1616
nuget FsCheck.Xunit
1717
nuget Microsoft.NET.Test.Sdk
1818
nuget xunit
19-
nuget xunit.runner.visualstudio
19+
nuget xunit.runner.visualstudio

paket.lock

+30-40
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,40 @@ NUGET
1414

1515
GROUP test
1616
STORAGE: NONE
17-
RESTRICTION: == net6.0
17+
RESTRICTION: == net8.0
1818
NUGET
1919
remote: https://api.nuget.org/v3/index.json
20-
FsCheck (2.16.3)
20+
FsCheck (2.16.6)
2121
FSharp.Core (>= 4.2.3)
22-
FsCheck.Xunit (2.16.3)
23-
FsCheck (2.16.3)
22+
FsCheck.Xunit (2.16.6)
23+
FsCheck (2.16.6)
2424
xunit.extensibility.execution (>= 2.2 < 3.0)
25-
FSharp.Core (6.0.1)
26-
Microsoft.CodeCoverage (17.0)
27-
Microsoft.NET.Test.Sdk (17.0)
28-
Microsoft.CodeCoverage (>= 17.0)
29-
Microsoft.TestPlatform.TestHost (>= 17.0)
30-
Microsoft.NETCore.Platforms (6.0)
31-
Microsoft.TestPlatform.ObjectModel (17.0)
32-
NuGet.Frameworks (>= 5.0)
25+
FSharp.Core (8.0.400)
26+
Microsoft.CodeCoverage (17.11.1)
27+
Microsoft.NET.Test.Sdk (17.11.1)
28+
Microsoft.CodeCoverage (>= 17.11.1)
29+
Microsoft.TestPlatform.TestHost (>= 17.11.1)
30+
Microsoft.TestPlatform.ObjectModel (17.11.1)
3331
System.Reflection.Metadata (>= 1.6)
34-
Microsoft.TestPlatform.TestHost (17.0)
35-
Microsoft.TestPlatform.ObjectModel (>= 17.0)
36-
Newtonsoft.Json (>= 9.0.1)
37-
NETStandard.Library (2.0.3)
38-
Microsoft.NETCore.Platforms (>= 1.1)
39-
Newtonsoft.Json (13.0.1)
40-
NuGet.Frameworks (6.0)
41-
System.Collections.Immutable (6.0)
42-
System.Runtime.CompilerServices.Unsafe (>= 6.0)
43-
System.Reflection.Metadata (6.0)
44-
System.Collections.Immutable (>= 6.0)
45-
System.Runtime.CompilerServices.Unsafe (6.0)
46-
xunit (2.4.1)
47-
xunit.analyzers (>= 0.10)
48-
xunit.assert (2.4.1)
49-
xunit.core (2.4.1)
32+
Microsoft.TestPlatform.TestHost (17.11.1)
33+
Microsoft.TestPlatform.ObjectModel (>= 17.11.1)
34+
Newtonsoft.Json (>= 13.0.1)
35+
Newtonsoft.Json (13.0.3)
36+
System.Collections.Immutable (8.0)
37+
System.Reflection.Metadata (8.0)
38+
System.Collections.Immutable (>= 8.0)
39+
xunit (2.9)
40+
xunit.analyzers (>= 1.15)
41+
xunit.assert (>= 2.9)
42+
xunit.core (2.9)
5043
xunit.abstractions (2.0.3)
51-
xunit.analyzers (0.10)
52-
xunit.assert (2.4.1)
53-
NETStandard.Library (>= 1.6.1)
54-
xunit.core (2.4.1)
55-
xunit.extensibility.core (2.4.1)
56-
xunit.extensibility.execution (2.4.1)
57-
xunit.extensibility.core (2.4.1)
58-
NETStandard.Library (>= 1.6.1)
44+
xunit.analyzers (1.16)
45+
xunit.assert (2.9)
46+
xunit.core (2.9)
47+
xunit.extensibility.core (2.9)
48+
xunit.extensibility.execution (2.9)
49+
xunit.extensibility.core (2.9)
5950
xunit.abstractions (>= 2.0.3)
60-
xunit.extensibility.execution (2.4.1)
61-
NETStandard.Library (>= 1.6.1)
62-
xunit.extensibility.core (2.4.1)
63-
xunit.runner.visualstudio (2.4.3)
51+
xunit.extensibility.execution (2.9)
52+
xunit.extensibility.core (2.9)
53+
xunit.runner.visualstudio (2.8.2)

tests/Diffract.CSharp.Tests/Diffract.CSharp.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<IsPackable>false</IsPackable>
55
<AssemblyName>DEdge.Diffract.CSharp.Tests</AssemblyName>
66
</PropertyGroup>

tests/Diffract.Tests/Diffract.Tests.fsproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<GenerateProgramFile>false</GenerateProgramFile>
77
</PropertyGroup>
@@ -14,4 +14,4 @@
1414
<ProjectReference Include="..\..\src\Diffract\Diffract.fsproj" />
1515
</ItemGroup>
1616
<Import Project="..\..\.paket\Paket.Restore.targets" />
17-
</Project>
17+
</Project>

0 commit comments

Comments
 (0)