Skip to content

(#357, #361, #362) Update Cake to v5 and Update Target Frameworks#374

Merged
AdmiringWorm merged 4 commits into
developfrom
update-dotnet-targets-ci-cake5
Dec 11, 2025
Merged

(#357, #361, #362) Update Cake to v5 and Update Target Frameworks#374
AdmiringWorm merged 4 commits into
developfrom
update-dotnet-targets-ci-cake5

Conversation

@AdmiringWorm

Copy link
Copy Markdown
Member

Summary

  • Add .NET 9.0 support across CI and projects
  • Remove .NET 6.0 and .NET 7.0 from CI matrices and project target lists, leaving net8.0 and net9.0
  • Upgrade Cake.Core and Cake.Testing to v5 (Cake 5 compatibility)
  • Bump CakeContrib.Guidelines to 1.6.1

What changes

  • GitHub Actions: include 9.x and remove 7.x/6.x where appropriate; build/pre-release/release matrices updated to use 8.x and 9.x (and 6.x retained only where kept)
  • AppVeyor: install dotnet-8.0 and dotnet-9.0 SDK/runtime (removed older 7.0/6.0 installs)
  • Projects: trim TargetFrameworks for Cake.Codecov and tests to net8.0 and net9.0
  • Tests: update to Cake.Testing 5.0.0 and bump Cake.Core to Cake v5-compatible packages
  • Dependencies: update CakeContrib.Guidelines to 1.6.1

Notes

  • Aligns CI and project targets with supported runtimes and prepares repository for Cake 5.x runtime/tests.

Related Issues

Add .NET 9.0 to CI workflows, AppVeyor installation, and project
target frameworks so repository builds and tests against the latest
runtime.

- Workflows: include 9.0.x in release-notes, build, and pre-release-notes
  matrixes and version setup steps.
- AppVeyor: install dotnet-9.0-sdk and dotnet-9.0-runtime.
- Projects: update TargetFrameworks in Cake.Codecov and test project to
  include net9.0 alongside existing net8.0, net7.0, and net6.0.

This ensures compatibility with .NET 9 and keeps CI coverage up to date.
Remove .NET 7.0 from workflows, AppVeyor install, and project target lists.
Update GitHub Actions (build, pre-release-notes, release-notes) to use
6.x, 8.x, and 9.x only and remove 7.0 entry. Simplify AppVeyor install
to remove older SDKs and 7.0 SDK, keeping 6.0, 8.0, and 9.0 SDK/runtime.
Trim TargetFrameworks in Cake.Codecov and tests to net9.0 and net8.0,
dropping net7.0 and net6.0. These changes reduce CI matrix and align
project targets with supported runtimes.
Update Cake.Contrib.Guidelines package from 1.5.1 to 1.6.1 to pick up
the latest guidelines and analyzer improvements. This keeps the project
dependencies current and benefits from potential bug fixes and new
rules in the newer package version.
Bump Cake.Core and Cake.Testing to major version 5 to align the
project with the latest Cake 5.x API and runtime. Also update the
tests project to reference Cake.Testing 5.0.0.

These changes prepare the codebase for Cake 5 compatibility, take
advantage of bug fixes and improvements in the newer runtime, and
prevent mismatched runtime/testkit versions.
@AdmiringWorm AdmiringWorm changed the title update-dotnet-targets-ci-cake5 (#357, #361, #362) Update Cake to v5 and Update Target Frameworks Dec 11, 2025
@codecov

codecov Bot commented Dec 11, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.37%. Comparing base (9dff319) to head (494f75e).
⚠️ Report is 11 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #374   +/-   ##
========================================
  Coverage    96.37%   96.37%           
========================================
  Files            4        4           
  Lines          138      138           
  Branches        20       20           
========================================
  Hits           133      133           
  Misses           2        2           
  Partials         3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AdmiringWorm AdmiringWorm merged commit 09634a4 into develop Dec 11, 2025
9 checks passed
@AdmiringWorm AdmiringWorm deleted the update-dotnet-targets-ci-cake5 branch December 11, 2025 15:14
@mergify

mergify Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution, if you haven't already then feel free to add yourself as a contributors through the all-contributors bot. See https://allcontributors.org/docs/en/bot/usage for more information.

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.

Remove support for .NET 6.0 and 7.0 Add support for .NET 9.0 Update Cake.Codecov to target Cake v5.0.0

1 participant