Skip to content

Commit

Permalink
chore: build and test on .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Sep 18, 2024
1 parent 08dba6b commit febb7d0
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"paket": {
"version": "6.2.1",
"version": "8.0.3",
"commands": [
"paket"
]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 8.0.100
- name: Paket restore
run: |
dotnet tool restore
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 8.0.100
- name: Download Artifact
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.100",
"version": "8.0.100",
"allowPrerelease": true,
"rollForward": "major"
}
Expand Down
4 changes: 2 additions & 2 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ nuget TypeShape >= 10.0.0
group test
source https://api.nuget.org/v3/index.json
storage: none
framework: net6.0
framework: net8.0

nuget FsCheck
nuget FsCheck.Xunit
nuget Microsoft.NET.Test.Sdk
nuget xunit
nuget xunit.runner.visualstudio
nuget xunit.runner.visualstudio
70 changes: 30 additions & 40 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,40 @@ NUGET

GROUP test
STORAGE: NONE
RESTRICTION: == net6.0
RESTRICTION: == net8.0
NUGET
remote: https://api.nuget.org/v3/index.json
FsCheck (2.16.3)
FsCheck (2.16.6)
FSharp.Core (>= 4.2.3)
FsCheck.Xunit (2.16.3)
FsCheck (2.16.3)
FsCheck.Xunit (2.16.6)
FsCheck (2.16.6)
xunit.extensibility.execution (>= 2.2 < 3.0)
FSharp.Core (6.0.1)
Microsoft.CodeCoverage (17.0)
Microsoft.NET.Test.Sdk (17.0)
Microsoft.CodeCoverage (>= 17.0)
Microsoft.TestPlatform.TestHost (>= 17.0)
Microsoft.NETCore.Platforms (6.0)
Microsoft.TestPlatform.ObjectModel (17.0)
NuGet.Frameworks (>= 5.0)
FSharp.Core (8.0.400)
Microsoft.CodeCoverage (17.11.1)
Microsoft.NET.Test.Sdk (17.11.1)
Microsoft.CodeCoverage (>= 17.11.1)
Microsoft.TestPlatform.TestHost (>= 17.11.1)
Microsoft.TestPlatform.ObjectModel (17.11.1)
System.Reflection.Metadata (>= 1.6)
Microsoft.TestPlatform.TestHost (17.0)
Microsoft.TestPlatform.ObjectModel (>= 17.0)
Newtonsoft.Json (>= 9.0.1)
NETStandard.Library (2.0.3)
Microsoft.NETCore.Platforms (>= 1.1)
Newtonsoft.Json (13.0.1)
NuGet.Frameworks (6.0)
System.Collections.Immutable (6.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Reflection.Metadata (6.0)
System.Collections.Immutable (>= 6.0)
System.Runtime.CompilerServices.Unsafe (6.0)
xunit (2.4.1)
xunit.analyzers (>= 0.10)
xunit.assert (2.4.1)
xunit.core (2.4.1)
Microsoft.TestPlatform.TestHost (17.11.1)
Microsoft.TestPlatform.ObjectModel (>= 17.11.1)
Newtonsoft.Json (>= 13.0.1)
Newtonsoft.Json (13.0.3)
System.Collections.Immutable (8.0)
System.Reflection.Metadata (8.0)
System.Collections.Immutable (>= 8.0)
xunit (2.9)
xunit.analyzers (>= 1.15)
xunit.assert (>= 2.9)
xunit.core (2.9)
xunit.abstractions (2.0.3)
xunit.analyzers (0.10)
xunit.assert (2.4.1)
NETStandard.Library (>= 1.6.1)
xunit.core (2.4.1)
xunit.extensibility.core (2.4.1)
xunit.extensibility.execution (2.4.1)
xunit.extensibility.core (2.4.1)
NETStandard.Library (>= 1.6.1)
xunit.analyzers (1.16)
xunit.assert (2.9)
xunit.core (2.9)
xunit.extensibility.core (2.9)
xunit.extensibility.execution (2.9)
xunit.extensibility.core (2.9)
xunit.abstractions (>= 2.0.3)
xunit.extensibility.execution (2.4.1)
NETStandard.Library (>= 1.6.1)
xunit.extensibility.core (2.4.1)
xunit.runner.visualstudio (2.4.3)
xunit.extensibility.execution (2.9)
xunit.extensibility.core (2.9)
xunit.runner.visualstudio (2.8.2)
2 changes: 1 addition & 1 deletion tests/Diffract.CSharp.Tests/Diffract.CSharp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<AssemblyName>DEdge.Diffract.CSharp.Tests</AssemblyName>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/Diffract.Tests/Diffract.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
Expand All @@ -14,4 +14,4 @@
<ProjectReference Include="..\..\src\Diffract\Diffract.fsproj" />
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
</Project>

0 comments on commit febb7d0

Please sign in to comment.