From aeb5520c6cbf3879d295635f4984f3f4e9bd6779 Mon Sep 17 00:00:00 2001 From: Oskar Dudycz Date: Sun, 23 Jul 2023 12:44:44 +0200 Subject: [PATCH] Added support for .NET 6 Bumped to 0.7.0 Bumped packages version --- .github/workflows/build.dotnet.yml | 7 ++++++- .../Ogooreck.Sample.Api.Tests.csproj | 12 ++++++------ ...eck.Sample.BusinessLogic.FSharp.Tests.fsproj | 11 ++++++----- .../Ogooreck.Sample.BusinessLogic.Tests.csproj | 6 +++--- src/Ogooreck/Ogooreck.csproj | 17 ++++++++++++----- 5 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.dotnet.yml b/.github/workflows/build.dotnet.yml index fa6a727..9e5546c 100644 --- a/.github/workflows/build.dotnet.yml +++ b/.github/workflows/build.dotnet.yml @@ -14,7 +14,12 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 - - name: Install .NET + - name: Install .NET 6 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: "6.0.x" + + - name: Install .NET 7 uses: actions/setup-dotnet@v3 with: dotnet-version: "7.0.x" diff --git a/src/Ogooreck.Sample.Api.Tests/Ogooreck.Sample.Api.Tests.csproj b/src/Ogooreck.Sample.Api.Tests/Ogooreck.Sample.Api.Tests.csproj index 5271065..a7d1bb0 100644 --- a/src/Ogooreck.Sample.Api.Tests/Ogooreck.Sample.Api.Tests.csproj +++ b/src/Ogooreck.Sample.Api.Tests/Ogooreck.Sample.Api.Tests.csproj @@ -5,11 +5,11 @@ - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -22,7 +22,7 @@ - + all runtime; build; native; contentfiles; analyzers diff --git a/src/Ogooreck.Sample.BusinessLogic.FSharp.Tests/Ogooreck.Sample.BusinessLogic.FSharp.Tests.fsproj b/src/Ogooreck.Sample.BusinessLogic.FSharp.Tests/Ogooreck.Sample.BusinessLogic.FSharp.Tests.fsproj index 63f8361..e72770a 100644 --- a/src/Ogooreck.Sample.BusinessLogic.FSharp.Tests/Ogooreck.Sample.BusinessLogic.FSharp.Tests.fsproj +++ b/src/Ogooreck.Sample.BusinessLogic.FSharp.Tests/Ogooreck.Sample.BusinessLogic.FSharp.Tests.fsproj @@ -12,12 +12,12 @@ - - + + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -25,6 +25,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all + diff --git a/src/Ogooreck.Sample.BusinessLogic.Tests/Ogooreck.Sample.BusinessLogic.Tests.csproj b/src/Ogooreck.Sample.BusinessLogic.Tests/Ogooreck.Sample.BusinessLogic.Tests.csproj index fd2f750..b37dbe7 100644 --- a/src/Ogooreck.Sample.BusinessLogic.Tests/Ogooreck.Sample.BusinessLogic.Tests.csproj +++ b/src/Ogooreck.Sample.BusinessLogic.Tests/Ogooreck.Sample.BusinessLogic.Tests.csproj @@ -9,9 +9,9 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Ogooreck/Ogooreck.csproj b/src/Ogooreck/Ogooreck.csproj index 0ea7d01..ab3dd9d 100644 --- a/src/Ogooreck/Ogooreck.csproj +++ b/src/Ogooreck/Ogooreck.csproj @@ -1,8 +1,8 @@ - 0.6.0 - net7.0 + 0.7.0 + net6.0;net7.0 true true true @@ -26,9 +26,16 @@ - - - + + + + + + + + + +