diff --git a/.github/workflows/dotnet.yaml b/.github/workflows/dotnet.yaml index 0eb5129..8242526 100644 --- a/.github/workflows/dotnet.yaml +++ b/.github/workflows/dotnet.yaml @@ -20,7 +20,6 @@ jobs: - macOS-latest - windows-latest dotnet: - - { sdk: 6.0.x, framework: net6.0 } - { sdk: 8.0.x, framework: net8.0 } runs-on: ${{matrix.os}} @@ -45,10 +44,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Prepare .NET tools run: dotnet tool restore - name: Run Fantomas @@ -61,10 +60,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Prepare .NET tools run: dotnet tool restore - name: Prepare analyzers @@ -85,10 +84,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # so that NerdBank.GitVersioning has access to history - - name: Setup .NET SDK v6.0.x + - name: Setup .NET SDK v8.0.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Build run: dotnet build ShapeSifter/ShapeSifter.fsproj --configuration Release - name: Pack diff --git a/ShapeSifter.Test/ShapeSifter.Test.fsproj b/ShapeSifter.Test/ShapeSifter.Test.fsproj index 9fd0b7a..11f8535 100644 --- a/ShapeSifter.Test/ShapeSifter.Test.fsproj +++ b/ShapeSifter.Test/ShapeSifter.Test.fsproj @@ -1,7 +1,7 @@ - net6.0;net8.0 + net8.0 5 true @@ -21,7 +21,11 @@ + + + + diff --git a/ShapeSifter/SurfaceBaseline.txt b/ShapeSifter/SurfaceBaseline.txt index d3e22ea..e5b288b 100644 --- a/ShapeSifter/SurfaceBaseline.txt +++ b/ShapeSifter/SurfaceBaseline.txt @@ -67,6 +67,7 @@ ShapeSifter.Patterns inherit obj ShapeSifter.Patterns+TType`1 inherit obj, implements 'a ShapeSifter.Patterns+TType System.IEquatable, System.Collections.IStructuralEquatable, 'a ShapeSifter.Patterns+TType System.IComparable, System.IComparable, System.Collections.IStructuralComparable - union type with 1 cases ShapeSifter.Patterns+TType`1.get_Item [method]: unit -> unit ShapeSifter.Patterns+TType`1.get_Tag [method]: unit -> int +ShapeSifter.Patterns+TType`1.Equals [method]: ('a ShapeSifter.Patterns+TType, System.Collections.IEqualityComparer) -> bool ShapeSifter.Patterns+TType`1.Item [property]: [read-only] unit ShapeSifter.Patterns+TType`1.NewTType [static method]: unit -> 'a ShapeSifter.Patterns+TType ShapeSifter.Patterns+TType`1.Tag [property]: [read-only] int @@ -186,4 +187,4 @@ ShapeSifter.UnionConvCrate.tryMake [static method]: unit -> 'union ShapeSifter.U ShapeSifter.UnionConvCrate`1 - interface with 1 member(s) ShapeSifter.UnionConvCrate`1.Apply [method]: ShapeSifter.UnionConvEvaluator<'union, 'ret> -> 'ret ShapeSifter.UnionConvEvaluator`2 - interface with 1 member(s) -ShapeSifter.UnionConvEvaluator`2.Eval [method]: Microsoft.FSharp.Reflection.UnionCaseInfo ShapeSifter.TypeField list -> 'ts HCollections.TypeList -> ShapeSifter.Conv<'union, 'ts HCollections.HUnion> -> 'ret \ No newline at end of file +ShapeSifter.UnionConvEvaluator`2.Eval [method]: Microsoft.FSharp.Reflection.UnionCaseInfo ShapeSifter.TypeField list -> 'ts HCollections.TypeList -> ShapeSifter.Conv<'union, 'ts HCollections.HUnion> -> 'ret diff --git a/ShapeSifter/version.json b/ShapeSifter/version.json index 90ef1a2..f1d9611 100644 --- a/ShapeSifter/version.json +++ b/ShapeSifter/version.json @@ -1,5 +1,5 @@ { - "version": "1.0", + "version": "1.1", "publicReleaseRefSpec": [ "^refs/heads/main$" ], diff --git a/global.json b/global.json new file mode 100644 index 0000000..610260c --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.400", + "rollForward": "latestMajor" + } +}