Skip to content

Commit

Permalink
Use .NET 8 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtbuchanan authored Jul 16, 2024
1 parent 965604c commit 7dea614
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: Build
run: ./build
Expand Down
19 changes: 9 additions & 10 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
<Project>
<PropertyGroup>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<!-- BUG: This should really be disabled but NuGet fails with a non-descript error -->
<CentralPackageVersionOverrideEnabled>true</CentralPackageVersionOverrideEnabled>
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<PackageVersion Include="Fake.Core.Target" Version="6.0.0" />
<PackageVersion Include="Fake.DotNet.Cli" Version="6.0.0" />
<PackageVersion Include="Fake.IO.FileSystem" Version="6.0.0" />
<PackageVersion Include="Fake.Testing.ReportGenerator" Version="6.0.0" />
<PackageVersion Include="FsCheck.Xunit" Version="2.16.6" />
<PackageVersion Include="FSharp.Core" Version="8.0.200" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="MSBuild.StructuredLogger" Version="2.2.206" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.133" />
<PackageVersion Include="Unquote" Version="6.1.0" />
<PackageVersion Include="xunit" Version="2.6.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.4" />
<PackageVersion Include="MSBuild.StructuredLogger" Version="2.2.243" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.139" />
<PackageVersion Include="Unquote" Version="7.0.0" />
<PackageVersion Include="xunit" Version="2.9.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion build/Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
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": "7.0.100",
"version": "8.0.0",
"rollForward": "latestMinor"
}
}
2 changes: 1 addition & 1 deletion src/Luhny/Luhny.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Description>Create and verify values using the Luhn algorithm. F# and C# friendly.</Description>
<PackageTags>luhn algorithm mod10 modulus checksum credit card sim imei bank f# fsharp</PackageTags>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Luhny.Test/Luhny.Test.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7dea614

Please sign in to comment.