From 655f815ad1482fafcb576fdae7ec22a63fbf96a2 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 12 Sep 2024 17:38:37 +0200 Subject: [PATCH 1/3] :alembic: gha seems to have problems with .net9rc1 when running: - Cuemon.AspNetCore.Mvc.Tests - Cuemon.AspNetCore.Mvc.FunctionalTests Try to use preview7 --- .github/workflows/pipelines.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 8178ad0b7..f663e82c8 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -197,10 +197,25 @@ jobs: - name: Checkout uses: codebeltnet/git-checkout@v1 - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 + # - name: Install .NET + # uses: codebeltnet/install-dotnet@v1 + # with: + # includePreview: true + + - name: 6.0.x + uses: actions/setup-dotnet@v4 with: - includePreview: true + dotnet-version: 6.0.x + - name: 8.0.x + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - if: inputs.includePreview == 'true' + name: 9.0.100-preview.7.24407.12 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.100-preview.7.24407.12 + dotnet-quality: preview - name: Install .NET Tool - Report Generator uses: codebeltnet/dotnet-tool-install-reportgenerator@v1 From 8df266f4a8d70f108603c07dc9e1b64e10141f2f Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 12 Sep 2024 17:56:37 +0200 Subject: [PATCH 2/3] :pencil2: forgot to remove condition for net9 --- .github/workflows/pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index f663e82c8..21c450165 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -210,8 +210,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - - if: inputs.includePreview == 'true' - name: 9.0.100-preview.7.24407.12 + + - name: 9.0.100-preview.7.24407.12 uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.100-preview.7.24407.12 From 6f067923958d9e0f2604aa0db39169d66ab95748 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 12 Sep 2024 19:50:20 +0200 Subject: [PATCH 3/3] :arrow_down: downgrade all net9rc1 to preview7 --- ...ns.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj | 2 +- .../Cuemon.Extensions.DependencyInjection.csproj | 4 ++-- .../Cuemon.Extensions.Hosting.csproj | 2 +- src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj | 2 +- .../Cuemon.Extensions.Text.Json.csproj | 2 +- .../Cuemon.Extensions.Xunit.Hosting.AspNetCore.csproj | 2 +- .../Cuemon.Extensions.Xunit.Hosting.csproj | 10 +++++----- test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj index a447e3092..b519913ee 100644 --- a/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj +++ b/src/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj b/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj index d8ad566e2..c879eb7ea 100644 --- a/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj +++ b/src/Cuemon.Extensions.DependencyInjection/Cuemon.Extensions.DependencyInjection.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj b/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj index 6a2cbd0ef..d30d380eb 100644 --- a/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj +++ b/src/Cuemon.Extensions.Hosting/Cuemon.Extensions.Hosting.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj b/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj index 460d7e81d..14dab98e8 100644 --- a/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj +++ b/src/Cuemon.Extensions.Net/Cuemon.Extensions.Net.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Cuemon.Extensions.Text.Json/Cuemon.Extensions.Text.Json.csproj b/src/Cuemon.Extensions.Text.Json/Cuemon.Extensions.Text.Json.csproj index ec195212d..8cd21616c 100644 --- a/src/Cuemon.Extensions.Text.Json/Cuemon.Extensions.Text.Json.csproj +++ b/src/Cuemon.Extensions.Text.Json/Cuemon.Extensions.Text.Json.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/Cuemon.Extensions.Xunit.Hosting.AspNetCore/Cuemon.Extensions.Xunit.Hosting.AspNetCore.csproj b/src/Cuemon.Extensions.Xunit.Hosting.AspNetCore/Cuemon.Extensions.Xunit.Hosting.AspNetCore.csproj index ffed3069f..b85bf0488 100644 --- a/src/Cuemon.Extensions.Xunit.Hosting.AspNetCore/Cuemon.Extensions.Xunit.Hosting.AspNetCore.csproj +++ b/src/Cuemon.Extensions.Xunit.Hosting.AspNetCore/Cuemon.Extensions.Xunit.Hosting.AspNetCore.csproj @@ -16,7 +16,7 @@ - + diff --git a/src/Cuemon.Extensions.Xunit.Hosting/Cuemon.Extensions.Xunit.Hosting.csproj b/src/Cuemon.Extensions.Xunit.Hosting/Cuemon.Extensions.Xunit.Hosting.csproj index ee24a2cf2..1b5e7f71c 100644 --- a/src/Cuemon.Extensions.Xunit.Hosting/Cuemon.Extensions.Xunit.Hosting.csproj +++ b/src/Cuemon.Extensions.Xunit.Hosting/Cuemon.Extensions.Xunit.Hosting.csproj @@ -11,11 +11,11 @@ - - - - - + + + + + diff --git a/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj b/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj index 46c6044ee..0307ef53d 100644 --- a/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj +++ b/test/Cuemon.Data.Tests/Cuemon.Data.Tests.csproj @@ -26,7 +26,7 @@ - +