Skip to content

Commit

Permalink
Merge branch 'release/5.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Dec 2, 2024
2 parents f7dea01 + 2f43af4 commit 64e0afb
Show file tree
Hide file tree
Showing 143 changed files with 757 additions and 787 deletions.
5 changes: 2 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ install:
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
# .NET 5 required for Codecov.Tool
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.427 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.409 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.403 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.404 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.GitRepository/script-runner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/install-markdownlint.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.MsBuild/script-runner
workingDirectory: ./tests/Cake.Issues.MsBuild/script-runner/net8.0
displayName: 'Run integration tests'
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Console/script-runner
displayName: 'Run integration tests'
- job: TestReportingConsoleFrostingNet6Job
displayName: Test Cake Frosting .NET 6
- job: TestReportingConsoleFrostingNet8Job
displayName: Test Cake Frosting .NET 8
strategy:
matrix:
Windows_Server_2019:
Expand All @@ -52,8 +52,8 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Console/frosting/net6.0
workingDirectory: ./tests/Cake.Issues.Reporting.Console/frosting/net8.0
displayName: 'Run integration tests'
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/script-runner
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Scripting $(System.JobName)
displayName: 'Publish generated reports as build artifact'
- job: TestReportingGenericFrostingNet6Job
displayName: Test Cake Frosting .NET 6
- job: TestReportingGenericFrostingNet8Job
displayName: Test Cake Frosting .NET 8
strategy:
matrix:
Windows_Server_2019:
Expand All @@ -55,11 +55,11 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/frosting
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Frosting .NET 6 $(System.JobName)
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Frosting .NET 8 $(System.JobName)
displayName: 'Publish generated reports as build artifact'
Original file line number Diff line number Diff line change
Expand Up @@ -26,45 +26,16 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/script-runner
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/script-runner/output
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Scripting $(System.JobName)
displayName: 'Publish generated reports as build artifact'
- job: TestReportingSarifFrostingNet6Job
displayName: Test Cake Frosting .NET 6
strategy:
matrix:
Windows_Server_2019:
imageName: 'windows-2019'
Windows_Server_2022:
imageName: 'windows-2022'
macOS_13:
imageName: 'macOS-13'
macOS_14:
imageName: 'macOS-14'
Ubuntu_20_04:
imageName: 'ubuntu-20.04'
Ubuntu_22_04:
imageName: 'ubuntu-22.04'
Ubuntu_24_04:
imageName: 'ubuntu-24.04'
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net6.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net6
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 6 $(System.JobName)
displayName: 'Publish generated reports as build artifact'
- job: TestReportingSarifFrostingNet7Job
displayName: Test Cake Frosting .NET 7
- job: TestReportingSarifFrostingNet8Job
displayName: Test Cake Frosting .NET 8
strategy:
matrix:
Windows_Server_2019:
Expand All @@ -84,16 +55,16 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net7.yml
- template: ../steps/install-net8.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net7
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net8
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 7 $(System.JobName)
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 8 $(System.JobName)
displayName: 'Publish generated reports as build artifact'
- job: TestReportingSarifFrostingNet8Job
displayName: Test Cake Frosting .NET 8
- job: TestReportingSarifFrostingNet9Job
displayName: Test Cake Frosting .NET 9
strategy:
matrix:
Windows_Server_2019:
Expand All @@ -113,11 +84,11 @@ stages:
pool:
vmImage: $(imageName)
steps:
- template: ../steps/install-net8.yml
- template: ../steps/install-net9.yml
- template: ../steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net8
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net9
displayName: 'Run integration tests'
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 8 $(System.JobName)
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 9 $(System.JobName)
displayName: 'Publish generated reports as build artifact'
7 changes: 0 additions & 7 deletions .azuredevops/pipelines/templates/steps/install-net7.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
steps:
- task: UseDotNet@2
inputs:
version: '6.x'
displayName: 'Install .NET 6'
version: '9.x'
displayName: 'Install .NET 9'
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
steps:
# .NET 5 required for Codecov.Tool
- template: install-net5.yml
- template: install-net6.yml
- template: install-net7.yml
- template: install-net8.yml
- template: install-net9.yml
9 changes: 9 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
"github>cake-contrib/renovate-presets:cake-issues"
],
"packageRules": [
{
"description": "Ignore Cake runner minor and patch updates",
"matchDepNames": [
"Cake.Tool",
"Cake.Frosting"
],
"matchUpdateTypes": ["minor", "patch"],
"enabled": false
},
{
"description": "Do not update Microsoft.Build.* packages in Cake.Issues.MsBuild since required version depends on the version used in MSBuild.StructuredLogger",
"matchFileNames": ["src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj", "src/Cake.Issues.MsBuild.Tests/Cake.Issues.MsBuild.Tests.csproj"],
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/integrationtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
# .NET 5 required for GitVersion
dotnet-version: |
5.x
6.x
7.x
8.x
9.x
- name: Build
run: ./build.sh --target=Create-NuGet-Packages
shell: bash
Expand All @@ -47,7 +46,7 @@ jobs:
windows-2019, windows-2022,
ubuntu-20.04, ubuntu-22.04, ubuntu-24.04,
macos-13, macos-14]
dotnet: [6.x, 7.x, 8.x]
dotnet: [8.x, 9.x]
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
Expand All @@ -56,9 +55,15 @@ jobs:
uses: ./.github/actions/prepare-integration-test
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Determine TFM
run: |
DOTNET_VERSION="${{ matrix.dotnet }}"
DOTNET_MAJOR_VERSION="${DOTNET_VERSION%%.*}"
echo "TFM=net${DOTNET_MAJOR_VERSION}.0" >> $GITHUB_ENV
shell: bash
- name: Run integration tests
run: ./build.sh --verbosity=diagnostic
working-directory: ./tests/Cake.Issues.MsBuild/script-runner/
working-directory: ./tests/Cake.Issues.MsBuild/script-runner/${{ env.TFM }}
shell: bash
# Integration Tests Cake.Issues.PullRequests.GitHubActions Cake Scripting
IntegrationTestsPullRequestsGitHubActionsCakeScripting:
Expand All @@ -71,7 +76,7 @@ jobs:
windows-2019, windows-2022,
ubuntu-20.04, ubuntu-22.04, ubuntu-24.04,
macos-13, macos-14]
dotnet: [6.x, 7.x, 8.x]
dotnet: [8.x, 9.x]
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
# .NET 5 required for GitVersion
dotnet-version: |
5.x
6.x
7.x
8.x
9.x
# Ubuntu 24.04 does not have Mono installed, which is Required for Cake.Recipe
- name: Install Mono
if: ${{ matrix.os == 'ubuntu-24.04' }}
Expand Down
Loading

0 comments on commit 64e0afb

Please sign in to comment.