Repository navigation
New Features
- Skip execution of the "ValidateCodeFormatting" task when build is running on Azure Pipelines
- Upgrade to .NET 9 and Cake 5
- GitHub Actions Integration: Add GitHub Actions support
- Include Cake.BuildSystems module by default
- Make reporting of code coverage more consistent (#152)
Bug Fixes
Breaking Changes
Details
Skip execution of the "ValidateCodeFormatting" task when build is running on Azure Pipelines
Running dotnet format on Azure Pipelines when using the .NET 9 SDK and Nerdbank.GitVersioning is installed causes the build to hang (see dotnet/sdk#44951).
To work around this, skip the task when running on Azure Pipelines and emit a warning about the task being skipped
Upgrade to .NET 9 and Cake 5
Breaking Change
GitHub Actions Integration: Add GitHub Actions support
Add support to all tasks for running builds on GitHub Actions instead of Azure Pipelines.
Include Cake.BuildSystems module by default
Include Cake.BuildSystems.Module in the SharedBuild package's dependencies and enable support for Azure Pipelines and GitHub Actions implicitly in UseSharedBuild().
This removes the need to explicitly install and load the modules in projects using the SharedBuild package.
Make reporting of code coverage more consistent (#152)
Adjust how code coverage reports are generated and make behavior consistent between local and CI builds
-
The combined coverage data (Cobertura.xml) will be placed directly in the code coverage output directory
-
The "Report" directory will always contain a HTML report (no longer a Azure Pipelines specific report when running on Azure Pipelines.
-
The HTML report as well as the Cobertura.xml is now published as pipeline artifact on both Azure Pipelines and GitHub Actions
-
The Azure Pipelines-specific HTML report that is shown in the web UI is now generated in a temporary directory (and only when publishing results to Azure Pipelines)
-
Pull Request: #152
-
Commit:
3ddb9b4