Skip to content

Commit

Permalink
feat: update to expecto 10 (#120)
Browse files Browse the repository at this point in the history
BREAKING-CHANGE: major expecto update and drops support for older .NET framework versions.
  • Loading branch information
SimonCropp authored Jun 19, 2023
1 parent c2a33a8 commit 7b453c9
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 27 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ jobs:
with:
fetch-depth: 0

- name: 🔽 Setup dotnet 3.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: "3.1.x"

- name: 🔽 Setup dotnet 5
uses: actions/setup-dotnet@v3
with:
dotnet-version: "5.0.x"

- name: 🔽 Setup dotnet from global.json
uses: actions/setup-dotnet@v3

Expand Down
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>

<ItemGroup>
<PackageVersion Include="Expecto" Version="[9.0, 10.0)" />
<PackageVersion Include="FSharp.Core" Version="[4.6.2,)" />
<PackageVersion Include="Expecto" Version="[10.0, 11.0)" />
<PackageVersion Include="FSharp.Core" Version="[7.0.200,)" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="17.6.2" />
<PackageVersion Include="System.Collections.Immutable" Version="[6.0.0,)" />
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<DebugType>portable</DebugType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>true</IsPackable>
</PropertyGroup>

Expand Down
4 changes: 1 addition & 3 deletions src/YoloDev.Expecto.TestSdk/YoloDev.Expecto.TestSdk.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
</ItemGroup>

<ItemGroup>
<None Include="build/netcoreapp3.1/YoloDev.Expecto.TestSdk.props" Pack="true" PackagePath="build\netcoreapp3.1\" />
<None Include="build/netcoreapp3.1/_._" Pack="true" PackagePath="lib\netcoreapp3.1\" Visible="false" />
<None Include="build/net5.0/_._" Pack="true" PackagePath="lib\net5.0\" Visible="false" />
<None Include="build/net6.0/_._" Pack="true" PackagePath="lib\net6.0\" Visible="false" />
</ItemGroup>

<ItemGroup>
Expand Down

This file was deleted.

Empty file.
2 changes: 1 addition & 1 deletion test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7b453c9

Please sign in to comment.