Skip to content

Commit

Permalink
Change .NET runtime targets to current recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
LyndonGingerich authored and TysonMN committed Jul 23, 2022
1 parent 03c7125 commit 55402fc
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.403
dotnet-version: 6.0.201
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.403
dotnet-version: 6.0.201
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Version TBD

- Fix bug in `Property.recheck` where the result is always `Failed`. ([#415][415], [@TysonMN][TysonMN])
- Runtime targets are now .NET Standard 2.0, .NET 4.8. and .NET 6.0. ([#416][416], [@LyndonGingerich][LyndonGingerich])

## Version 0.12.1 (2021-12-31)

Expand Down Expand Up @@ -195,7 +196,11 @@
https://github.com/ploeh
[porges]:
https://github.com/porges
[LyndonGingerich]
https://github.com/LyndonGingerich

[416]:
https://github.com/hedgehogqa/fsharp-hedgehog/pull/416
[415]:
https://github.com/hedgehogqa/fsharp-hedgehog/pull/415
[401]:
Expand Down
4 changes: 2 additions & 2 deletions src/Hedgehog/Hedgehog.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>
<TargetFrameworks>netstandard1.6;netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net48;net6.0</TargetFrameworks>
<Version>0.12.1</Version>
<Description>Release with confidence.</Description>
<Authors>Jacob Stanley;Nikos Baxevanis</Authors>
Expand Down Expand Up @@ -60,7 +60,7 @@ https://github.com/hedgehogqa/fsharp-hedgehog/blob/master/doc/index.md
<None Include="Script.fsx" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="[4.1.17,)" />
<PackageReference Update="FSharp.Core" Version="[4.3.4, 99]" />
</ItemGroup>
<!-- https://fable.io/docs/your-fable-project/author-a-fable-library.html -->
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Hedgehog.Benchmarks/Hedgehog.Benchmarks.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions tests/Hedgehog.Linq.Tests/Hedgehog.Linq.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<ApplicationIcon />
<OutputType>Library</OutputType>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions tests/Hedgehog.Tests/Hedgehog.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>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<OutputType>Exe</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
Expand All @@ -26,7 +26,7 @@
<PackageReference Include="Fable.Core" Version="3.1.5" />
<PackageReference Include="Fable.Mocha" Version="2.9.1" />
<PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.*" />
<PackageReference Update="FSharp.Core" Version="4.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Update="FSharp.Core" Version="6.0.5" />
</ItemGroup>
</Project>

0 comments on commit 55402fc

Please sign in to comment.