From 6c8870742f2916cff0e2d1297f8c4c10cec2b44e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:23:10 +0000 Subject: [PATCH 01/25] Update cake-build/cake-action digest to d218f11 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70689ad6..040aaf9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build project - uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3 + uses: cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3 with: script-path: recipe.cake target: CI diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d8f6b107..f6548bd0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -47,7 +47,7 @@ jobs: languages: ${{ matrix.language }} - name: Build project - uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3 + uses: cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3 with: script-path: recipe.cake target: DotNetCore-Build From d8815eee4048d013d11457e8db8f3d315a515293 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 19:56:20 +0000 Subject: [PATCH 02/25] Update actions/upload-artifact action to v5 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 040aaf9c..54c27af8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,7 @@ jobs: # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -84,7 +84,7 @@ jobs: BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 if: runner.os == 'Windows' with: if-no-files-found: warn From 16c14ba9c30b875616dc8cbea486b6a9e8764902 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 21:12:41 +0000 Subject: [PATCH 03/25] Update github/codeql-action action to v4 --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f6548bd0..0f22ffe9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Initialize CodeQL - uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3 + uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4 with: languages: ${{ matrix.language }} @@ -54,4 +54,4 @@ jobs: cake-version: tool-manifest - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3 + uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4 From e4462d5c34b75a4dce0b3e9121eae3118149e955 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 29 Oct 2025 22:27:05 +0100 Subject: [PATCH 04/25] (#278) re-enabled build on macos --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54c27af8..c617f75f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2022, ubuntu-22.04] + os: [windows-2022, ubuntu-22.04, macos-13] env: AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} From 2f0b3384e15317cc0b46def5f90616f432ee2eaa Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 29 Oct 2025 22:37:29 +0100 Subject: [PATCH 05/25] (#284) add net7.0 to CI pipeline --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c617f75f..a1ff7232 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,8 @@ jobs: run: git fetch --prune --unshallow # codecov and unittests need 2.1, gitversion needs 5.0 + # GitReleasemanager needs 7.0 + # builds run on 9.0 - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 with: dotnet-version: | @@ -57,6 +59,7 @@ jobs: 3.1 5.0 6.0 + 7.0 9.0 - name: Cache Tools From 693ae50333901c276b3b4e0865a6aa960c16ee3a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 21:49:41 +0000 Subject: [PATCH 06/25] Update actions/checkout action to v5 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1ff7232..140a185c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - name: Fetch all tags and branches run: git fetch --prune --unshallow diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f22ffe9..b404a7bd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 with: fetch-depth: 0 From bd04787da632a636aff75ca87c87e20ba53b6f1d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 21:56:05 +0000 Subject: [PATCH 07/25] Update actions/setup-dotnet action to v5 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 140a185c..c1542349 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: # codecov and unittests need 2.1, gitversion needs 5.0 # GitReleasemanager needs 7.0 # builds run on 9.0 - - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + - uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | 2.1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b404a7bd..a0a2167c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,7 +24,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + - uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | 2.1 From fca0c45f134c7b7ed21584bb47a18fdccbc9f712 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 22:05:21 +0000 Subject: [PATCH 08/25] Update actions/cache digest to 0057852 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1542349..4f38493c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: 9.0 - name: Cache Tools - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a0a2167c..99c1e01c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: 9.0 - name: Cache Tools - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} From f38652ba7329f0070e6bc10c5537c30e5502eef7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 22:13:50 +0000 Subject: [PATCH 09/25] Update dependency dotnet-sdk to v9.0.306 --- global.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.json b/global.json index 730de979..b7bbcb26 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.301", + "version": "9.0.306", "rollForward": "latestFeature" } } From 26dd05c50e1ad9c8ed3d1107792c3172e7b6ede8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 22:18:46 +0000 Subject: [PATCH 10/25] Update dependency JetBrains.Annotations to v2025 --- demo/frosting/build/Build.csproj | 2 +- .../Cake.AzurePipelines.Module.csproj | 2 +- src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj | 2 +- src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj | 2 +- src/Cake.Module.Shared/Cake.Module.Shared.csproj | 2 +- src/Cake.MyGet.Module/Cake.MyGet.Module.csproj | 2 +- src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj | 2 +- src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demo/frosting/build/Build.csproj b/demo/frosting/build/Build.csproj index 05944909..eceb8ab5 100644 --- a/demo/frosting/build/Build.csproj +++ b/demo/frosting/build/Build.csproj @@ -5,7 +5,7 @@ $(MSBuildProjectDirectory) - + diff --git a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj index f80b646d..b023fbb3 100644 --- a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj +++ b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj index 68cd314e..00a15f4d 100644 --- a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj +++ b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj index 8dd32312..46b29734 100644 --- a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj +++ b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.Module.Shared/Cake.Module.Shared.csproj b/src/Cake.Module.Shared/Cake.Module.Shared.csproj index b0056694..174892a2 100644 --- a/src/Cake.Module.Shared/Cake.Module.Shared.csproj +++ b/src/Cake.Module.Shared/Cake.Module.Shared.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj index f74b25d9..9eb9563b 100644 --- a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj +++ b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj index 8d663ad4..9e7ee421 100644 --- a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj +++ b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj index ba7b4919..3eed34b2 100644 --- a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj +++ b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From e36d74e2c0ae32099c745ff95a830c4c626f8141 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:43:59 +0000 Subject: [PATCH 11/25] Update github/codeql-action digest to 0499de3 --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 99c1e01c..bfe000a6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Initialize CodeQL - uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4 + uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 with: languages: ${{ matrix.language }} @@ -54,4 +54,4 @@ jobs: cake-version: tool-manifest - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4 + uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 From 1ec4555a6d3dc12041616ec65af5f0b0974a83e5 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Sat, 22 Nov 2025 15:55:15 +0000 Subject: [PATCH 12/25] (#302) Start using Cake 6.0.0 Bump all the Cake.* references, and also switch to using .NET 10. --- global.json | 2 +- .../Cake.AzurePipelines.Module.csproj | 6 +++--- .../Cake.BuildSystems.Module.csproj | 2 +- .../Cake.GitHubActions.Module.csproj | 6 +++--- src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj | 6 +++--- src/Cake.Module.Shared/Cake.Module.Shared.csproj | 6 +++--- src/Cake.MyGet.Module/Cake.MyGet.Module.csproj | 6 +++--- src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj | 6 +++--- src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/global.json b/global.json index b7bbcb26..45f72329 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.306", + "version": "10.0.100", "rollForward": "latestFeature" } } diff --git a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj index b023fbb3..acdcd3fc 100644 --- a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj +++ b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.AzurePipelines.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj b/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj index d33193f4..674b4139 100644 --- a/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj +++ b/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 false true true diff --git a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj index 00a15f4d..a7d52bb3 100644 --- a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj +++ b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.GitHubActions.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj index 46b29734..a768bc6f 100644 --- a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj +++ b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.GitLabCI.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.Module.Shared/Cake.Module.Shared.csproj b/src/Cake.Module.Shared/Cake.Module.Shared.csproj index 174892a2..3d4957ce 100644 --- a/src/Cake.Module.Shared/Cake.Module.Shared.csproj +++ b/src/Cake.Module.Shared/Cake.Module.Shared.csproj @@ -1,15 +1,15 @@ - net8.0 + net10.0 true Cake.Module.Shared false - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj index 9eb9563b..0fa24d83 100644 --- a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj +++ b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.MyGet.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj index 9e7ee421..c4493f72 100644 --- a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj +++ b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.TeamCity.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj index 3eed34b2..a977239d 100644 --- a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj +++ b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 true Cake.TravisCI.Module false @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive From 2e600ce7142eb455d23fc0ab17c379d2f4ed7d8f Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Sat, 22 Nov 2025 15:58:19 +0000 Subject: [PATCH 13/25] (#306) Add GitHub Report Printer This will be used to improve the Cake output when running on GitHub Actions. This includes the task summary being written out to the Step Summary. With the latest releases of Cake, the task summary is written out even when there is a failed build, so this means that we can capture that output into the Step Summary, to get an overview of which task might have failed the build. --- .../Cake.AzurePipelines.Module.csproj | 2 +- .../Cake.BuildSystems.Module.csproj | 4 +- .../Cake.GitHubActions.Module.csproj | 2 +- .../GitHubActionsModule.cs | 3 +- .../GitHubActionsReportPrinter.cs | 116 ++++++++++++++++++ .../Cake.GitLabCI.Module.csproj | 2 +- .../Cake.Module.Shared.csproj | 2 +- .../Cake.MyGet.Module.csproj | 2 +- .../Cake.TeamCity.Module.csproj | 2 +- .../Cake.TravisCI.Module.csproj | 2 +- 10 files changed, 127 insertions(+), 10 deletions(-) create mode 100644 src/Cake.GitHubActions.Module/GitHubActionsReportPrinter.cs diff --git a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj index acdcd3fc..884f6b15 100644 --- a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj +++ b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.AzurePipelines.Module false diff --git a/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj b/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj index 674b4139..1f01a3fa 100644 --- a/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj +++ b/src/Cake.BuildSystems.Module/Cake.BuildSystems.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 false true true @@ -58,7 +58,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj index a7d52bb3..3e45380a 100644 --- a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj +++ b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.GitHubActions.Module false diff --git a/src/Cake.GitHubActions.Module/GitHubActionsModule.cs b/src/Cake.GitHubActions.Module/GitHubActionsModule.cs index 4816d7d2..da21d5f6 100644 --- a/src/Cake.GitHubActions.Module/GitHubActionsModule.cs +++ b/src/Cake.GitHubActions.Module/GitHubActionsModule.cs @@ -1,4 +1,4 @@ -using Cake.Core; +using Cake.Core; using Cake.Core.Annotations; using Cake.Core.Composition; using Cake.Core.Diagnostics; @@ -22,6 +22,7 @@ public void Register(ICakeContainerRegistrar registrar) registrar.RegisterType().As().Singleton(); registrar.RegisterType().As().Singleton(); + registrar.RegisterType().As().Singleton(); } } } diff --git a/src/Cake.GitHubActions.Module/GitHubActionsReportPrinter.cs b/src/Cake.GitHubActions.Module/GitHubActionsReportPrinter.cs new file mode 100644 index 00000000..f761d25e --- /dev/null +++ b/src/Cake.GitHubActions.Module/GitHubActionsReportPrinter.cs @@ -0,0 +1,116 @@ +using System; +using System.Linq; +using System.Text; +using Cake.Common.Build; +using Cake.Core; +using Cake.Core.Diagnostics; +using Cake.Module.Shared; +using JetBrains.Annotations; + +namespace Cake.GitHubActions.Module +{ + /// + /// The GitHub Actions report printer. + /// + [UsedImplicitly] + public class GitHubActionsReportPrinter : CakeReportPrinterBase + { + /// + /// Initializes a new instance of the class. + /// + /// The console. + /// The context. + public GitHubActionsReportPrinter(IConsole console, ICakeContext context) + : base(console, context) + { + } + + /// + public override void Write(CakeReport report) + { + if (report == null) + { + throw new ArgumentNullException(nameof(report)); + } + + try + { + if (_context.GitHubActions().IsRunningOnGitHubActions) + { + WriteToMarkdown(report); + } + + WriteToConsole(report); + } + finally + { + _console.ResetColor(); + } + } + + /// + public override void WriteLifeCycleStep(string name, Verbosity verbosity) + { + // Intentionally left blank + } + + /// + public override void WriteSkippedStep(string name, Verbosity verbosity) + { + // Intentionally left blank + } + + /// + public override void WriteStep(string name, Verbosity verbosity) + { + // Intentionally left blank + } + + private void WriteToMarkdown(CakeReport report) + { + var includeSkippedReasonColumn = report.Any(r => !string.IsNullOrEmpty(r.SkippedMessage)); + + var sb = new StringBuilder(); + sb.AppendLine(string.Empty); + + if (includeSkippedReasonColumn) + { + sb.AppendLine("|Task|Duration|Status|Skip Reason|"); + sb.AppendLine("|----|--------|------|-----------|"); + } + else + { + sb.AppendLine("|Task|Duration|Status|"); + sb.AppendLine("|----|--------|------|"); + } + + foreach (var item in report) + { + if (ShouldWriteTask(item)) + { + if (includeSkippedReasonColumn) + { + sb.AppendLine(string.Format("|{0}|{1}|{2}|{3}|", item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus(), item.SkippedMessage)); + } + else + { + sb.AppendLine(string.Format("|{0}|{1}|{2}|", item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus())); + } + } + } + + if (includeSkippedReasonColumn) + { + sb.AppendLine("|||||"); + sb.AppendLine(string.Format("|**_{0}_**|**_{1}_**|||", "Total:", GetTotalTime(report))); + } + else + { + sb.AppendLine("||||"); + sb.AppendLine(string.Format("|**_{0}_**|**_{1}_**||", "Total:", GetTotalTime(report))); + } + + _context.GitHubActions().Commands.SetStepSummary(sb.ToString()); + } + } +} diff --git a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj index a768bc6f..5d91e8f5 100644 --- a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj +++ b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.GitLabCI.Module false diff --git a/src/Cake.Module.Shared/Cake.Module.Shared.csproj b/src/Cake.Module.Shared/Cake.Module.Shared.csproj index 3d4957ce..adf5ef57 100644 --- a/src/Cake.Module.Shared/Cake.Module.Shared.csproj +++ b/src/Cake.Module.Shared/Cake.Module.Shared.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.Module.Shared false diff --git a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj index 0fa24d83..1a55b26e 100644 --- a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj +++ b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.MyGet.Module false diff --git a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj index c4493f72..06c1a212 100644 --- a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj +++ b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.TeamCity.Module false diff --git a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj index a977239d..b0edf2b9 100644 --- a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj +++ b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0 true Cake.TravisCI.Module false From 8e0b3555b78f35881ae17d25d095feb6112ce5bd Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Sat, 22 Nov 2025 16:13:44 +0000 Subject: [PATCH 14/25] (maint) Update output to include status info Update the default output, as well as the Azure Pipelines output, to include information about the status of the task, and all the skip reason, if there is something. This change brings consistency to the output after the addition of the new GitHub Actions Report Printer. --- .../AzurePipelinesReportPrinter.cs | 29 ++++++++++++++++--- .../CakeReportPrinterBase.cs | 22 ++++++++++++-- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs b/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs index 9d81ce10..6d9fd80b 100644 --- a/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs +++ b/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs @@ -1,8 +1,10 @@ -using System; +using System; using System.IO; +using System.Linq; using System.Text; using Cake.Common.Build; using Cake.Core; +using Cake.Core.Diagnostics; using Cake.Core.IO; using Cake.Module.Shared; using JetBrains.Annotations; @@ -53,6 +55,8 @@ public override void Write(CakeReport report) private void WriteToMarkdown(CakeReport report) { + var includeSkippedReasonColumn = report.Any(r => !string.IsNullOrEmpty(r.SkippedMessage)); + var maxTaskNameLength = 29; foreach (var item in report) { @@ -67,13 +71,30 @@ private void WriteToMarkdown(CakeReport report) var sb = new StringBuilder(); sb.AppendLine(""); - sb.AppendLine("|Task|Duration|"); - sb.AppendLine("|:---|-------:|"); + + if (includeSkippedReasonColumn) + { + sb.AppendLine("|Task|Duration|Status|Skip Reason|"); + sb.AppendLine("|:---|-------:|:-----|:----------|"); + } + else + { + sb.AppendLine("|Task|Duration|Status|"); + sb.AppendLine("|:---|-------:|:-----|"); + } + foreach (var item in report) { if (ShouldWriteTask(item)) { - sb.AppendLine(string.Format(lineFormat, item.TaskName, FormatDuration(item))); + if (includeSkippedReasonColumn) + { + sb.AppendLine(string.Format(lineFormat, item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus(), item.SkippedMessage)); + } + else + { + sb.AppendLine(string.Format(lineFormat, item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus())); + } } } diff --git a/src/Cake.Module.Shared/CakeReportPrinterBase.cs b/src/Cake.Module.Shared/CakeReportPrinterBase.cs index b2c952d6..c2d4e78d 100644 --- a/src/Cake.Module.Shared/CakeReportPrinterBase.cs +++ b/src/Cake.Module.Shared/CakeReportPrinterBase.cs @@ -63,6 +63,8 @@ public virtual void WriteSkippedStep(string name, Verbosity verbosity) /// The report to write. protected void WriteToConsole(CakeReport report) { + var includeSkippedReasonColumn = report.Any(r => !string.IsNullOrEmpty(r.SkippedMessage)); + var maxTaskNameLength = 29; foreach (var item in report) { @@ -78,7 +80,14 @@ protected void WriteToConsole(CakeReport report) // Write header. _console.WriteLine(); - _console.WriteLine(lineFormat, "Task", "Duration"); + if (includeSkippedReasonColumn) + { + _console.WriteLine(lineFormat, "Task", "Duration", "Status", "Skip Reason"); + } + else + { + _console.WriteLine(lineFormat, "Task", "Duration", "Status"); + } _console.WriteLine(new string('-', 20 + maxTaskNameLength)); // Write task status. @@ -87,7 +96,14 @@ protected void WriteToConsole(CakeReport report) if (ShouldWriteTask(item)) { _console.ForegroundColor = GetItemForegroundColor(item); - _console.WriteLine(lineFormat, item.TaskName, FormatDuration(item)); + if (includeSkippedReasonColumn) + { + _console.WriteLine(lineFormat, item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus(), item.SkippedMessage); + } + else + { + _console.WriteLine(lineFormat, item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus()); + } } } @@ -142,7 +158,7 @@ protected static string FormatDuration(CakeReportEntry item) { if (item.ExecutionStatus == CakeTaskExecutionStatus.Skipped) { - return "Skipped"; + return "-"; } return FormatTime(item.Duration); From 513f9442af31412e0dfef87f62ec438577d6f0fc Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Sun, 23 Nov 2025 13:41:27 +0000 Subject: [PATCH 15/25] (build) Add .NET 10.0 to build agent --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f38493c..28d08446 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,6 +61,7 @@ jobs: 6.0 7.0 9.0 + 10.0 - name: Cache Tools uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 From d60bbef205c4542f51cb9da92a9daeb456ed27bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Rosenthal-Buroh?= <22403655+JuergenRB@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:03:59 +0100 Subject: [PATCH 16/25] =?UTF-8?q?=E2=9C=A8=20feat(AzurePipelinesReportPrin?= =?UTF-8?q?ter):=20add=20target=20name=20to=20summary=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AzurePipelinesReportPrinter.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs b/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs index 6d9fd80b..868c757a 100644 --- a/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs +++ b/src/Cake.AzurePipelines.Module/AzurePipelinesReportPrinter.cs @@ -83,6 +83,7 @@ private void WriteToMarkdown(CakeReport report) sb.AppendLine("|:---|-------:|:-----|"); } + var targetName = string.Empty; foreach (var item in report) { if (ShouldWriteTask(item)) @@ -96,9 +97,11 @@ private void WriteToMarkdown(CakeReport report) sb.AppendLine(string.Format(lineFormat, item.TaskName, FormatDuration(item), item.ExecutionStatus.ToReportStatus())); } } + + targetName = item.TaskName; // Use the last task name it is the target name } - sb.AppendLine(""); + sb.AppendLine(string.Empty); var b = _context.BuildSystem().AzurePipelines; FilePath agentWorkPath = b.Environment.Build.ArtifactStagingDirectory + "/tasksummary.md"; var absFilePath = agentWorkPath.MakeAbsolute(_context.Environment); @@ -108,7 +111,7 @@ private void WriteToMarkdown(CakeReport report) writer.Write(sb.ToString()); } - _console.WriteLine($"##vso[task.addattachment type=Distributedtask.Core.Summary;name=Cake Build Summary;]{absFilePath.MakeAbsolute(_context.Environment).FullPath}"); + _console.WriteLine($"##vso[task.addattachment type=Distributedtask.Core.Summary;name=Cake {targetName} Build Summary;]{absFilePath.MakeAbsolute(_context.Environment).FullPath}"); } } } From 22589a3c29fcb6f527462732794c9a181b316a99 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 19:46:19 +0000 Subject: [PATCH 17/25] Update actions/checkout action to v6 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28d08446..10ccab99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - name: Fetch all tags and branches run: git fetch --prune --unshallow diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bfe000a6..e95f1d21 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 with: fetch-depth: 0 From e6f798d5213720d5dd99a26fa128dd7aeb4e91b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 19:53:07 +0000 Subject: [PATCH 18/25] Update dependency JetBrains.Annotations to 2025.2.4 --- demo/frosting/build/Build.csproj | 2 +- .../Cake.AzurePipelines.Module.csproj | 2 +- src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj | 2 +- src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj | 2 +- src/Cake.Module.Shared/Cake.Module.Shared.csproj | 2 +- src/Cake.MyGet.Module/Cake.MyGet.Module.csproj | 2 +- src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj | 2 +- src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/demo/frosting/build/Build.csproj b/demo/frosting/build/Build.csproj index eceb8ab5..0294f469 100644 --- a/demo/frosting/build/Build.csproj +++ b/demo/frosting/build/Build.csproj @@ -5,7 +5,7 @@ $(MSBuildProjectDirectory) - + diff --git a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj index 884f6b15..a9f2c850 100644 --- a/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj +++ b/src/Cake.AzurePipelines.Module/Cake.AzurePipelines.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj index 3e45380a..5d74c788 100644 --- a/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj +++ b/src/Cake.GitHubActions.Module/Cake.GitHubActions.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj index 5d91e8f5..50ef9333 100644 --- a/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj +++ b/src/Cake.GitLabCI.Module/Cake.GitLabCI.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.Module.Shared/Cake.Module.Shared.csproj b/src/Cake.Module.Shared/Cake.Module.Shared.csproj index adf5ef57..953057b8 100644 --- a/src/Cake.Module.Shared/Cake.Module.Shared.csproj +++ b/src/Cake.Module.Shared/Cake.Module.Shared.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj index 1a55b26e..fd795917 100644 --- a/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj +++ b/src/Cake.MyGet.Module/Cake.MyGet.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj index 06c1a212..6ba6fcb1 100644 --- a/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj +++ b/src/Cake.TeamCity.Module/Cake.TeamCity.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj index b0edf2b9..c7d60f18 100644 --- a/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj +++ b/src/Cake.TravisCI.Module/Cake.TravisCI.Module.csproj @@ -14,7 +14,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 92d1b8a0df1c92b7fa248a6b1bac821598f972e8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 19:57:34 +0000 Subject: [PATCH 19/25] Update actions/setup-dotnet action to v5.0.1 --- .github/workflows/build.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10ccab99..ac79908f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: # codecov and unittests need 2.1, gitversion needs 5.0 # GitReleasemanager needs 7.0 # builds run on 9.0 - - uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 + - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 with: dotnet-version: | 2.1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e95f1d21..7303621b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,7 +24,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 + - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 with: dotnet-version: | 2.1 From 1b7746f34f820211a693cf0b5251cabb920ded9e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:02:55 +0000 Subject: [PATCH 20/25] Update github/codeql-action digest to fdbfb4d --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7303621b..e8a8b910 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Initialize CodeQL - uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 + uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4 with: languages: ${{ matrix.language }} @@ -54,4 +54,4 @@ jobs: cake-version: tool-manifest - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4 + uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4 From ec4354ac344a9c59451a41902c083f8a0904e91e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:09:51 +0000 Subject: [PATCH 21/25] Update dependency Cake.Recipe to v4 --- recipe.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.cake b/recipe.cake index 1be0a828..4c29fa21 100644 --- a/recipe.cake +++ b/recipe.cake @@ -1,4 +1,4 @@ -#load nuget:?package=Cake.Recipe&version=3.1.1 +#load nuget:?package=Cake.Recipe&version=4.0.0 Environment.SetVariableNames(); From b2793bff4f1cbcb79b43914da4ce29200ca4aa93 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sun, 30 Nov 2025 21:25:05 +0100 Subject: [PATCH 22/25] bump Cake in CI to 2.3.0 to match Cake.Recipe 4.x --- .config/dotnet-tools.json | 2 +- recipe.cake | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 4903ba5f..dd76b6d1 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "1.3.0", + "version": "2.3.0", "commands": [ "dotnet-cake" ] diff --git a/recipe.cake b/recipe.cake index 4c29fa21..841a3bd3 100644 --- a/recipe.cake +++ b/recipe.cake @@ -12,7 +12,6 @@ BuildParameters.SetParameters( repositoryOwner: "cake-contrib", shouldRunDotNetCorePack: true, shouldUseDeterministicBuilds: true, - gitterMessage: "@/all " + standardNotificationMessage, twitterMessage: standardNotificationMessage, shouldRunCodecov: false, preferredBuildProviderType: BuildProviderType.GitHubActions, @@ -21,12 +20,6 @@ BuildParameters.SetParameters( BuildParameters.PrintParameters(Context); -ToolSettings.SetToolPreprocessorDirectives( - gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0", - gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0", - reportGeneratorGlobalTool: "#tool dotnet:?package=dotnet-reportgenerator-globaltool&version=5.4.7", - coverallsGlobalTool: "#tool dotnet:?package=coveralls.net&version=4.0.1"); - ToolSettings.SetToolSettings(context: Context); Build.RunDotNetCore(); From ee41b0082f3197389deebc19448fca42f24b1036 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:31:31 +0000 Subject: [PATCH 23/25] Update cake monorepo to v6 --- demo/dsl/.config/dotnet-tools.json | 2 +- demo/frosting/build/Build.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/dsl/.config/dotnet-tools.json b/demo/dsl/.config/dotnet-tools.json index da200cda..ebf1316f 100644 --- a/demo/dsl/.config/dotnet-tools.json +++ b/demo/dsl/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "4.0.0", + "version": "6.0.0", "commands": [ "dotnet-cake" ] diff --git a/demo/frosting/build/Build.csproj b/demo/frosting/build/Build.csproj index 0294f469..ace05b93 100644 --- a/demo/frosting/build/Build.csproj +++ b/demo/frosting/build/Build.csproj @@ -6,7 +6,7 @@ - + From 826991cf6c17361a1f47042ebb3cdd79bf42ef78 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:42:37 +0000 Subject: [PATCH 24/25] Update dependency ubuntu to v24 --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e8a8b910..a20649b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,7 +11,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false From cb808c079641715200cf51fd431e0f37d3993dc3 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sun, 30 Nov 2025 21:58:55 +0100 Subject: [PATCH 25/25] install mono for ubuntu 24.04 --- .github/workflows/build.yml | 14 ++++++++++++-- .github/workflows/codeql-analysis.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac79908f..f721366b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2022, ubuntu-22.04, macos-13] + os: [windows-2022, ubuntu-24.04, macos-13] env: AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} @@ -62,7 +62,17 @@ jobs: 7.0 9.0 10.0 - + - name: Install mono + if: runner.os == 'Linux' + # check https://www.mono-project.com/download/stable/#download-lin + run: | + sudo apt install ca-certificates gnupg + sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list + sudo apt update + sudo apt install -y mono-complete + mono --version - name: Cache Tools uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a20649b4..fe9eea57 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,6 +35,18 @@ jobs: 8.0 9.0 + - name: Install mono + if: runner.os == 'Linux' + # check https://www.mono-project.com/download/stable/#download-lin + run: | + sudo apt install ca-certificates gnupg + sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list + sudo apt update + sudo apt install -y mono-complete + mono --version + - name: Cache Tools uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: