From b546a6532e0f1c957bd0975c6106fb4898ec2426 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Tue, 12 Nov 2024 16:02:29 -0800 Subject: [PATCH] target dotnet 9.0 for test and sample projects --- .github/workflows/build.yml | 4 ---- samples/AspNetCore/AspNetCore.csproj | 2 +- samples/AzureFunctions/AzureFunctions.csproj | 2 +- .../Octokit.Webhooks.AzureFunctions.Test.csproj | 2 +- test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj | 2 +- .../Octokit.Webhooks.TestUtils.csproj | 2 +- 6 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c8f4b80..9db07289 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,10 +39,6 @@ jobs: fetch-depth: 0 - name: 'Install .NET Core SDK' uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 - with: - dotnet-version: | - 6.0.x - 9.0.x - name: 'Dotnet Tool Restore' run: dotnet tool restore shell: pwsh diff --git a/samples/AspNetCore/AspNetCore.csproj b/samples/AspNetCore/AspNetCore.csproj index 122b9201..8b83cad1 100644 --- a/samples/AspNetCore/AspNetCore.csproj +++ b/samples/AspNetCore/AspNetCore.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 true $(NoWarn);CA1848;IDE0021;IDE0053;VSTHRD111 diff --git a/samples/AzureFunctions/AzureFunctions.csproj b/samples/AzureFunctions/AzureFunctions.csproj index f1089a7c..431f7f05 100644 --- a/samples/AzureFunctions/AzureFunctions.csproj +++ b/samples/AzureFunctions/AzureFunctions.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 V4 true $(NoWarn);CA1848;IDE0021;IDE0053;VSTHRD111 diff --git a/test/Octokit.Webhooks.AzureFunctions.Test/Octokit.Webhooks.AzureFunctions.Test.csproj b/test/Octokit.Webhooks.AzureFunctions.Test/Octokit.Webhooks.AzureFunctions.Test.csproj index d33200a1..5a6013c1 100644 --- a/test/Octokit.Webhooks.AzureFunctions.Test/Octokit.Webhooks.AzureFunctions.Test.csproj +++ b/test/Octokit.Webhooks.AzureFunctions.Test/Octokit.Webhooks.AzureFunctions.Test.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 diff --git a/test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj b/test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj index 35ba798e..8d90b292 100644 --- a/test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj +++ b/test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0 diff --git a/test/Octokit.Webhooks.TestUtils/Octokit.Webhooks.TestUtils.csproj b/test/Octokit.Webhooks.TestUtils/Octokit.Webhooks.TestUtils.csproj index a38ae2fa..d4a4afdc 100644 --- a/test/Octokit.Webhooks.TestUtils/Octokit.Webhooks.TestUtils.csproj +++ b/test/Octokit.Webhooks.TestUtils/Octokit.Webhooks.TestUtils.csproj @@ -1,7 +1,7 @@ - net6.0 + net9.0