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..ca4dac6 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 @@ -20,7 +20,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +