Skip to content

Target net10.0/net11.0, upgrade xunit v4, modernize CI - #22

Merged
johnkors merged 2 commits into
mainfrom
jk/upgrade
Sep 12, 2026
Merged

johnkors merged 2 commits into
mainfrom
jk/upgrade

Conversation

@johnkors

Copy link
Copy Markdown
Owner

Summary

  • Narrow TargetFrameworks to net10.0;net11.0, dropping net8.0/net9.0
  • Bump actions/checkout to v7 and actions/setup-dotnet to v6 in all three workflows, split into separate GA (.NET 10) and preview (.NET 11) setup steps so dotnet-quality: preview no longer forces .NET 10 off its GA channel; bump gittools/actions to v4.7.0
  • Upgrade Microsoft.NET.Test.Sdk, xunit.v3, and xunit.runner.visualstudio to their new major versions, and migrate the test project to the new MTP dotnet test runner via global.json (test.runner), which also pins the minimum SDK with rollForward: latestMajor so it keeps resolving once .NET 11 moves past RC
  • Add renovate.json so future NuGet/GitHub Actions version drift is caught automatically (once the Renovate GitHub App is installed on the repo)

Test plan

  • dotnet test source — clean restore/build/test, 176/176 passing across net10.0 and net11.0
  • Verified dotnet --version resolves to the newest installed SDK (11.0.100-rc.1) via the new global.json sdk block
  • Watch the CI run on this PR to confirm the split setup-dotnet steps correctly install both GA .NET 10 and preview .NET 11 on the GitHub-hosted runner

🤖 Generated with Claude Code

johnkors and others added 2 commits September 12, 2026 15:01
- Narrow TargetFrameworks to net10.0;net11.0 (drop net8.0/net9.0)
- Bump actions/checkout to v7, actions/setup-dotnet to v6 (split into
  separate GA/preview steps so dotnet-quality: preview no longer
  forces .NET 10 off its GA channel), gittools/actions to v4.7.0
- Upgrade Microsoft.NET.Test.Sdk, xunit.v3 and xunit.runner.visualstudio
  to their new major versions, which require opting into the new MTP
  dotnet test runner via global.json (also pins the min SDK, rolling
  forward to the newest installed major so it keeps working once
  .NET 11 leaves RC)
- Add renovate.json to keep NuGet/Actions versions from going stale again

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Each matrix leg installs only the SDK/runtime it needs (10.0.x GA,
11.0.x preview) and scopes restore/build/test to that single
TargetFramework via -p:TargetFrameworks=, avoiding the earlier
NETSDK1045 failure that occurs when a lower SDK sees a TargetFrameworks
list containing a newer TFM it doesn't understand. Legs run in
parallel instead of two sequential setup-dotnet steps in one job.

+semver: major

This branch drops net8.0/net9.0 support from NoCommons, a breaking
change for consumers on those TFMs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@johnkors
johnkors merged commit b91cb4c into main Sep 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant