From 6af7ee23fdd03d97e65471cd7f07928ff160d925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Breu=C3=9F=20Valentin?= Date: Mon, 23 Feb 2026 07:13:29 +0100 Subject: [PATCH 1/2] feat: upgrade server to .NET 10 --- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 2 +- .../Controllers/PullRequestStatusCheckController.cs | 2 +- Source/Testably.Server/Testably.Server.csproj | 8 ++++---- Tests/Testably.Server.Tests/Testably.Server.Tests.csproj | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e503137..b42d835 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203753e..b7e8463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/Source/Testably.Server/Controllers/PullRequestStatusCheckController.cs b/Source/Testably.Server/Controllers/PullRequestStatusCheckController.cs index 2477e9e..22d5698 100644 --- a/Source/Testably.Server/Controllers/PullRequestStatusCheckController.cs +++ b/Source/Testably.Server/Controllers/PullRequestStatusCheckController.cs @@ -84,7 +84,7 @@ public async Task OnPullRequestChanged( using var client = _clientFactory.CreateClient("Proxied"); client.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("Testably", - Assembly.GetExecutingAssembly().GetName().Version.ToString())); + Assembly.GetExecutingAssembly().GetName().Version?.ToString())); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", bearerToken); diff --git a/Source/Testably.Server/Testably.Server.csproj b/Source/Testably.Server/Testably.Server.csproj index 98b5c14..06222d9 100644 --- a/Source/Testably.Server/Testably.Server.csproj +++ b/Source/Testably.Server/Testably.Server.csproj @@ -1,15 +1,15 @@  - net8.0 + net10.0 enable enable - - - + + + diff --git a/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj b/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj index df49e63..e781a4e 100644 --- a/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj +++ b/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable From 0995e3efd3a5d58f1a4c0eb69c933d1c5317236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Breu=C3=9F=20Valentin?= Date: Mon, 23 Feb 2026 07:18:12 +0100 Subject: [PATCH 2/2] Fix review issue --- Tests/Testably.Server.Tests/Testably.Server.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj b/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj index e781a4e..ca4dac6 100644 --- a/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj +++ b/Tests/Testably.Server.Tests/Testably.Server.Tests.csproj @@ -20,7 +20,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +