From d48005b219ac0102b7442b840f971dc5c3fc76f1 Mon Sep 17 00:00:00 2001 From: Laurianti Date: Fri, 13 Nov 2026 21:50:13 +0100 Subject: [PATCH] Run the file-based CI scripts on the .NET 11 SDK global.json requires the .NET 11 SDK since #2527. The affected-tests and README integrations jobs now install it. Directory.Build.props no longer sets TargetFrameworks for file-based apps, which the .NET 11 SDK builds for net11.0. --- .github/workflows/dotnet-ci.yml | 2 +- .github/workflows/readme-integrations-check.yml | 4 ++++ Directory.Build.props | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml index 090db5030..850b8126e 100644 --- a/.github/workflows/dotnet-ci.yml +++ b/.github/workflows/dotnet-ci.yml @@ -62,7 +62,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.x + dotnet-version: 11.0.x - name: Select affected tests id: select diff --git a/.github/workflows/readme-integrations-check.yml b/.github/workflows/readme-integrations-check.yml index d186bd4ba..f8ec8a337 100644 --- a/.github/workflows/readme-integrations-check.yml +++ b/.github/workflows/readme-integrations-check.yml @@ -20,5 +20,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v7 + - uses: actions/setup-dotnet@v6 + with: + dotnet-version: 11.0.x + - name: Verify README integrations table is up to date run: dotnet run eng/scripts/generate-readme-integrations.cs -- --check diff --git a/Directory.Build.props b/Directory.Build.props index febe3b5aa..003dd96c2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,8 @@ net10.0 - $(DefaultTargetFramework) + + $(DefaultTargetFramework) $(DefaultTargetFramework);net11.0 latest