(#360, #356) Update .NET to 8.0 and Cake to v4#365
Merged
Conversation
Add .NET 8.0 to CI workflows and project target frameworks so the add-in and tests build and run against net8.0. - CI: update build.yml, release-notes.yml and pre-release-notes.yml to include dotnet-version 8.0.x in the matrix to run jobs on .NET 8. - Project files: add net8.0 to TargetFrameworks in both the main Cake.Codecov.csproj and Cake.Codecov.Tests.csproj so packages and tests are compiled for .NET 8 in addition to .NET 7 and .NET 6. This enables compatibility testing and packaging for .NET 8.
Update Cake and related dependencies to their latest 4.x releases and refresh guidelines package. This includes: - Upgrade Cake.Testing from 3.2.0 to 4.0.0 in tests to match Cake v4. - Upgrade Cake.Core from 3.0.0 to 4.0.0 in the library. - Upgrade CakeContrib.Guidelines from 1.4.0 to 1.5.1. Remove an obsolete .NET Framework-specific runtime info dependency (System.Runtime.InteropServices.RuntimeInformation) since it is no longer required after the package and target framework adjustments. These changes align project dependencies with Cake v4, fix compatibility issues, and bring guideline tooling up to date.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add .NET 8.0 target frameworks to projects and CI (build.yml, release-notes.yml, pre-release-notes.yml) so the add-in and tests build and run against net8.0
Bump Cake and related packages to v4: Cake.Core → 4.0.0, Cake.Testing → 4.0.0, and CakeContrib.Guidelines → 1.5.1
Remove obsolete System.Runtime.InteropServices.RuntimeInformation runtime dependency no longer needed after package/target framework changes
fixes Update Cake.Codecov to target Cake v4.0.0 #356
fixes Add support for .NET 8.0 #360