From b04d13c4ea7ed929700ff21c015ea4c79eca197f Mon Sep 17 00:00:00 2001 From: Chris Wolfgang <210299580+Chris-Wolfgang@users.noreply.github.com> Date: Mon, 29 Jun 2026 20:22:22 -0400 Subject: [PATCH] perf(benchmarks): bump TargetFramework net8.0 -> net10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The src project ships net10.0 as a target; benchmark numbers should reflect what consumers on the modern runtime actually see. Bumps the benchmarks csproj and the benchmarks.yaml SDK install to match. The .github/workflows/benchmarks.yaml change makes this a protected- file PR — needs admin-bypass merge per protected-file-pr-split. Closes #220 --- .github/workflows/benchmarks.yaml | 2 +- .../Wolfgang.TryPattern.Benchmarks.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index a985210..1e342c1 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -41,7 +41,7 @@ jobs: uses: actions/setup-dotnet@v5 with: dotnet-version: | - 8.0.x + 10.0.x - name: Restore run: dotnet restore benchmarks/Wolfgang.TryPattern.Benchmarks/Wolfgang.TryPattern.Benchmarks.csproj diff --git a/benchmarks/Wolfgang.TryPattern.Benchmarks/Wolfgang.TryPattern.Benchmarks.csproj b/benchmarks/Wolfgang.TryPattern.Benchmarks/Wolfgang.TryPattern.Benchmarks.csproj index 84d25dd..009bcdb 100644 --- a/benchmarks/Wolfgang.TryPattern.Benchmarks/Wolfgang.TryPattern.Benchmarks.csproj +++ b/benchmarks/Wolfgang.TryPattern.Benchmarks/Wolfgang.TryPattern.Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 enable