Skip to content

Commit 7b453c9

Browse files
authored
feat: update to expecto 10 (#120)
BREAKING-CHANGE: major expecto update and drops support for older .NET framework versions.
1 parent c2a33a8 commit 7b453c9

File tree

8 files changed

+5
-27
lines changed

8 files changed

+5
-27
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: 🔽 Setup dotnet 3.1
31-
uses: actions/setup-dotnet@v3
32-
with:
33-
dotnet-version: "3.1.x"
34-
35-
- name: 🔽 Setup dotnet 5
36-
uses: actions/setup-dotnet@v3
37-
with:
38-
dotnet-version: "5.0.x"
39-
4030
- name: 🔽 Setup dotnet from global.json
4131
uses: actions/setup-dotnet@v3
4232

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22

33
<ItemGroup>
4-
<PackageVersion Include="Expecto" Version="[9.0, 10.0)" />
5-
<PackageVersion Include="FSharp.Core" Version="[4.6.2,)" />
4+
<PackageVersion Include="Expecto" Version="[10.0, 11.0)" />
5+
<PackageVersion Include="FSharp.Core" Version="[7.0.200,)" />
66
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
77
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="17.6.2" />
88
<PackageVersion Include="System.Collections.Immutable" Version="[6.0.0,)" />

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<DebugType>portable</DebugType>
6-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
6+
<TargetFramework>net6.0</TargetFramework>
77
<IsPackable>true</IsPackable>
88
</PropertyGroup>
99

src/YoloDev.Expecto.TestSdk/YoloDev.Expecto.TestSdk.fsproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<None Include="build/netcoreapp3.1/YoloDev.Expecto.TestSdk.props" Pack="true" PackagePath="build\netcoreapp3.1\" />
24-
<None Include="build/netcoreapp3.1/_._" Pack="true" PackagePath="lib\netcoreapp3.1\" Visible="false" />
25-
<None Include="build/net5.0/_._" Pack="true" PackagePath="lib\net5.0\" Visible="false" />
23+
<None Include="build/net6.0/_._" Pack="true" PackagePath="lib\net6.0\" Visible="false" />
2624
</ItemGroup>
2725

2826
<ItemGroup>
File renamed without changes.

src/YoloDev.Expecto.TestSdk/build/netcoreapp3.1/YoloDev.Expecto.TestSdk.props

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/YoloDev.Expecto.TestSdk/build/netcoreapp3.1/_._

Whitespace-only changes.

test/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
7+
<TargetFramework>net6.0</TargetFramework>
88
</PropertyGroup>
99

1010
<ItemGroup>

0 commit comments

Comments
 (0)