From 12a49e7b48e84c83985034cf1f40d28a1a4e97d2 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sat, 26 Aug 2023 17:01:57 +0200 Subject: [PATCH 01/27] (maint) exclude updates to cake.tool --- .github/renovate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index c5ed5b3..8be4bb2 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,10 +1,11 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>cake-contrib/renovate-presets"], + "ignoreDeps": ["cake.tool"], "packageRules": [ { "description": "Do not update cake references inside the actual Cake.IntelliJ.Recipe", - "matchFileNames": ["**/Cake.IntelliJ.Recipe/Content/**/*"], + "matchFileNames": ["src/Cake.IntelliJ.Recipe/Content/**"], "matchManagers": ["cake"], "enabled": false } From 4674b098f452a5599bb4e30576ed993e0cb7bfd6 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sun, 27 Aug 2023 16:43:42 +0200 Subject: [PATCH 02/27] (#80) removed cake-dependabot --- .github/workflows/dependabot-cake.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/dependabot-cake.yml diff --git a/.github/workflows/dependabot-cake.yml b/.github/workflows/dependabot-cake.yml deleted file mode 100644 index f28fc1d..0000000 --- a/.github/workflows/dependabot-cake.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Run dependabot for cake -on: - workflow_dispatch: - schedule: - # run everyday at 6 - - cron: '0 6 * * *' - -jobs: - dependabot-cake: - runs-on: ubuntu-latest # linux, because this is a docker-action - steps: - - name: check/update cake dependencies - uses: nils-org/dependabot-cake-action@f2b01cbc4aa6ee4ae4229435c5d146eacdfadf40 # v1.1.0 \ No newline at end of file From 068c9e7f622085efc599f25f21f294ba79936f35 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:50:06 +0000 Subject: [PATCH 03/27] chore(deps): update actions/checkout action to v4 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb38792..f59db82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 8d8f729..5dd3e89 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From a40f6f1a4bcb0a89e7b62ec17bf27fb6359f64fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:15:55 +0000 Subject: [PATCH 04/27] chore(deps): update actions/upload-artifact digest to a8a3f3a --- .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 f59db82..61758ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 if: runner.os == 'Linux' with: if-no-files-found: warn From a4980be9d0fc12391456a8bf78f12eda33cce79a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Sep 2023 16:03:05 +0000 Subject: [PATCH 05/27] chore(deps): update actions/cache digest to 704facf --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61758ca..9c2835c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: 5.0.x 7.0.x - name: Cache Tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 5dd3e89..a643b73 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} From 66c64f0f286e2d26d367128766b87213b5906fc3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 19:37:32 +0000 Subject: [PATCH 06/27] chore(deps): update actions/checkout digest to 8ade135 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c2835c..b8ac4a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index a643b73..ad760d0 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From 88311a6537fd39e6cd16954fcd342298e8604217 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:08:27 +0000 Subject: [PATCH 07/27] chore(deps): update actions/checkout digest to b4ffde6 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8ac4a2..2a2972e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index ad760d0..185038b 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From 95c0193cd643199a29d03c99b369d3e61cd37c7c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 16:13:15 +0000 Subject: [PATCH 08/27] chore(deps): update actions/setup-dotnet action to v4 --- .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 2a2972e..3556182 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 + uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: # gitReleaseManager needs 3.1, gitVersion needs 5.0 dotnet-version: | From 2a02dbbe7db4b450c6d173741e69d1c793c2f4f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 23:22:52 +0000 Subject: [PATCH 09/27] chore(deps): update dependency cakecontrib.guidelines to v1.5.1 --- src/Cake.IntelliJ.Recipe/Cake.IntelliJ.Recipe.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.IntelliJ.Recipe/Cake.IntelliJ.Recipe.csproj b/src/Cake.IntelliJ.Recipe/Cake.IntelliJ.Recipe.csproj index 1ddc074..b743a99 100644 --- a/src/Cake.IntelliJ.Recipe/Cake.IntelliJ.Recipe.csproj +++ b/src/Cake.IntelliJ.Recipe/Cake.IntelliJ.Recipe.csproj @@ -25,7 +25,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 44dde155f9e0b9f2ffbf9169a7c686e450c9c52b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 17:33:38 +0000 Subject: [PATCH 10/27] chore(deps): update actions/upload-artifact action to v4 --- .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 3556182..295c0d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From d62068f0601919abc235e05e6f8330842757465d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:46:38 +0000 Subject: [PATCH 11/27] chore(deps): update actions/upload-artifact digest to 1eb3cb2 --- .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 295c0d6..a2ec2bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 + uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 + uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From 6a8a1503576da546693d21a2fdd00be5d8664143 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:02:59 +0000 Subject: [PATCH 12/27] chore(deps): update actions/cache digest to e12d46a --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2ec2bf..b59e75e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: 5.0.x 7.0.x - name: Cache Tools - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 + uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 185038b..329b41f 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 + uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} From ee7fefe56928d40171e589776bb9fdc6288aba30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:28:06 +0000 Subject: [PATCH 13/27] chore(deps): update actions/cache action to v4 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b59e75e..a533d50 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: 5.0.x 7.0.x - name: Cache Tools - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 329b41f..5936189 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} From a967f826bfbc8fbed1285dab26ec28ee506b8a4b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:16:24 +0000 Subject: [PATCH 14/27] chore(deps): update actions/upload-artifact digest to 694cdab --- .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 a533d50..adaa787 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4 + uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # v4 + uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From 7de50dc5aab3a835c3d29ecf64e803208b6cfe02 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 19:32:59 +0000 Subject: [PATCH 15/27] chore(deps): update actions/upload-artifact digest to 26f96df --- .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 adaa787..08aea09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From 85a83dd930572b0078151ab1df078c059e094c5a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:56:48 +0000 Subject: [PATCH 16/27] chore(deps): update cake-build/cake-action action to v2 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08aea09..488a951 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build project - uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1.4.1 + uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0 with: script-path: recipe.cake target: CI diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 5936189..d806231 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -27,7 +27,7 @@ jobs: key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} - name: Publishing documentaiton - uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1.4.1 + uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0 with: script-path: recipe.cake target: Force-Publish-Documentation From 10aa874feab950a1d89d2e178e571a21885d6b11 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 01:16:13 +0000 Subject: [PATCH 17/27] chore(deps): update actions/upload-artifact digest to 5d5d22a --- .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 488a951..d93148b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From 50582d8e4384b4573ea20268f8d8cf255956a73d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:02:46 +0000 Subject: [PATCH 18/27] chore(deps): update actions/cache digest to ab5e6d0 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d93148b..62ac623 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: 5.0.x 7.0.x - name: Cache Tools - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 + uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index d806231..b4893d7 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 + uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} From 7e7650946d3b29178582a1719e2a98101487fcd0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 23:16:44 +0000 Subject: [PATCH 19/27] chore(deps): update actions/upload-artifact digest to 6546280 --- .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 62ac623..f006077 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: cake-version: tool-manifest # currently, Cake.Recipe does not upload artifacts when run on gh-actions - name: Upload Issues - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -75,7 +75,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 if: runner.os == 'Linux' with: if-no-files-found: warn From e21ecd7d39a929e419fbcc24fd935e93daccebe4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 14:16:20 +0000 Subject: [PATCH 20/27] chore(deps): update actions/checkout digest to 0ad4b8f --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f006077..bc69db7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index b4893d7..5b20699 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From 5e62e5c4c26566133c11ca7fdb495f16e24dad72 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 14:26:56 +0000 Subject: [PATCH 21/27] chore(deps): update actions/cache digest to 0c45773 --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc69db7..3feb069 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: 5.0.x 7.0.x - name: Cache Tools - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 5b20699..2e52341 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} From 0105ee4c357d1446955a030c440c34eaf7c66c4b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 23:14:50 +0000 Subject: [PATCH 22/27] chore(deps): update actions/checkout digest to 44c2b7a --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3feb069..b33d32a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 2e52341..b53d6a4 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From fd9beb1f62d7c1d895dd228cb6b63f58ee34b7b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 17:22:20 +0000 Subject: [PATCH 23/27] chore(deps): update actions/checkout digest to 0ad4b8f --- .github/workflows/build.yml | 2 +- .github/workflows/publishDocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b33d32a..3feb069 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .net diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index b53d6a4..2e52341 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,7 +15,7 @@ jobs: steps: - name: checkout - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} From cd86f9d8c168115777b58284cec6bd7b9daad9ad Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Tue, 14 May 2024 22:32:54 +0200 Subject: [PATCH 24/27] (#111) add 'shouldRunPluginVerifier' which defaults to true --- src/Cake.IntelliJ.Recipe/Content/analyzing.cake | 1 + src/Cake.IntelliJ.Recipe/Content/parameters.cake | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Cake.IntelliJ.Recipe/Content/analyzing.cake b/src/Cake.IntelliJ.Recipe/Content/analyzing.cake index 651bd3e..c245256 100644 --- a/src/Cake.IntelliJ.Recipe/Content/analyzing.cake +++ b/src/Cake.IntelliJ.Recipe/Content/analyzing.cake @@ -21,6 +21,7 @@ BuildParameters.Tasks.AnalyzeTask = Task("IntelliJAnalyze") IntelliJBuildParameters.Tasks.RunPluginVerifierTask = Task("Run-Plugin-Verifier") .IsDependentOn("IntelliJBuild") + .WithCriteria(() => IntelliJBuildParameters.ShouldRunPluginVerifier, "Plugin Verifier is disabled") .Does((context, buildVersion) => { Gradle diff --git a/src/Cake.IntelliJ.Recipe/Content/parameters.cake b/src/Cake.IntelliJ.Recipe/Content/parameters.cake index cc4386f..7809163 100644 --- a/src/Cake.IntelliJ.Recipe/Content/parameters.cake +++ b/src/Cake.IntelliJ.Recipe/Content/parameters.cake @@ -16,6 +16,7 @@ public static class IntelliJBuildParameters public static FilePath IntegrationTestScriptPath { get; private set; } public static IntelliJBuildTasks Tasks { get; private set; } public static IntelliJBuildPaths Paths { get; private set; } + public static bool ShouldRunPluginVerifier { get; private set; } static IntelliJBuildParameters() { Tasks = new IntelliJBuildTasks(); @@ -38,6 +39,7 @@ public static class IntelliJBuildParameters context.Information("ShouldPublishPluginCiBuilds: {0}", ShouldPublishPluginCiBuilds); context.Information("PluginChannelGradleProperty: {0}", PluginChannelGradleProperty); context.Information("PluginVersionGradleProperty: {0}", PluginVersionGradleProperty); + context.Information("ShouldRunPluginVerifier: {0}", ShouldRunPluginVerifier); } public static void SetParameters( @@ -118,7 +120,8 @@ public static class IntelliJBuildParameters string marketplaceId = null, GradleLogLevel gradleVerbosity = GradleLogLevel.Default, DirectoryPath pluginBuildOutputPath = null, - DirectoryPath pluginPackOutputPath = null + DirectoryPath pluginPackOutputPath = null, + bool shouldRunPluginVerifier = true ) { if (context == null) @@ -227,5 +230,6 @@ public static class IntelliJBuildParameters PluginChannelGradleProperty = pluginChannelGradleProperty; PluginVersionGradleProperty = pluginVersionGradleProperty; Paths = IntelliJBuildPaths.GetPaths(context); + ShouldRunPluginVerifier = shouldRunPluginVerifier; } } From c2654f31711898ddbd53b4c969ced27d6c64d9c8 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Tue, 14 May 2024 23:12:41 +0200 Subject: [PATCH 25/27] add parameter: intelliJAnalyzerTasks which defaults to the previously fixed tasks: { "detekt", "ktlintCheck", "verifyPlugin" } --- src/Cake.IntelliJ.Recipe/Content/analyzing.cake | 4 +--- src/Cake.IntelliJ.Recipe/Content/parameters.cake | 6 +++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Cake.IntelliJ.Recipe/Content/analyzing.cake b/src/Cake.IntelliJ.Recipe/Content/analyzing.cake index c245256..7b83f2d 100644 --- a/src/Cake.IntelliJ.Recipe/Content/analyzing.cake +++ b/src/Cake.IntelliJ.Recipe/Content/analyzing.cake @@ -12,9 +12,7 @@ BuildParameters.Tasks.AnalyzeTask = Task("IntelliJAnalyze") .FromPath(BuildParameters.SourceDirectoryPath) .WithLogLevel(IntelliJBuildParameters.GradleVerbosity) .WithProjectProperty("pluginVersion", buildVersion.SemVersion) - .WithTask("detekt") - .WithTask("ktlintCheck") - .WithTask("verifyPlugin") + .WithTask(IntelliJBuildParameters.IntelliJAnalyzerTasks) .Run(); }); diff --git a/src/Cake.IntelliJ.Recipe/Content/parameters.cake b/src/Cake.IntelliJ.Recipe/Content/parameters.cake index 7809163..a753aae 100644 --- a/src/Cake.IntelliJ.Recipe/Content/parameters.cake +++ b/src/Cake.IntelliJ.Recipe/Content/parameters.cake @@ -17,6 +17,7 @@ public static class IntelliJBuildParameters public static IntelliJBuildTasks Tasks { get; private set; } public static IntelliJBuildPaths Paths { get; private set; } public static bool ShouldRunPluginVerifier { get; private set; } + public static string[] IntelliJAnalyzerTasks { get; private set; } static IntelliJBuildParameters() { Tasks = new IntelliJBuildTasks(); @@ -40,6 +41,7 @@ public static class IntelliJBuildParameters context.Information("PluginChannelGradleProperty: {0}", PluginChannelGradleProperty); context.Information("PluginVersionGradleProperty: {0}", PluginVersionGradleProperty); context.Information("ShouldRunPluginVerifier: {0}", ShouldRunPluginVerifier); + context.Information("IntelliJAnalyzerTasks: {0}", string.Join(", ", IntelliJAnalyzerTasks)); } public static void SetParameters( @@ -121,7 +123,8 @@ public static class IntelliJBuildParameters GradleLogLevel gradleVerbosity = GradleLogLevel.Default, DirectoryPath pluginBuildOutputPath = null, DirectoryPath pluginPackOutputPath = null, - bool shouldRunPluginVerifier = true + bool shouldRunPluginVerifier = true, + string[] intelliJAnalyzerTasks = null ) { if (context == null) @@ -231,5 +234,6 @@ public static class IntelliJBuildParameters PluginVersionGradleProperty = pluginVersionGradleProperty; Paths = IntelliJBuildPaths.GetPaths(context); ShouldRunPluginVerifier = shouldRunPluginVerifier; + IntelliJAnalyzerTasks = intelliJAnalyzerTasks ?? new[] { "detekt", "ktlintCheck", "verifyPlugin" }; } } From 24f4ea325f9e9109a296aeb462d27b6b2dae9720 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 15 May 2024 20:56:36 +0200 Subject: [PATCH 26/27] (#122) added missing documentation for intelliJAnalyzerTasks and shouldRunPluginVerifier --- README.md | 99 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 71 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 1c22d42..79829bb 100644 --- a/README.md +++ b/README.md @@ -9,25 +9,35 @@ Convention based Cake scripts for building IntelliJ plugins. ## Table of Contents -- [Install](#install) -- [Usage](#usage) -- [Discussion](#discussion) -- [Settings](#settings) - - [Publishing](#publishing) - - [Marketplace-ID](#marketplace-id) - - [Grade-Verbosity](#grade-verbosity) - - [Channels](#channels) -- [Changes to the template](#changes-to-the-template) - - [Readme](#user-content-readme) - - [Changelog](#user-content-changelog) - - [Releases and PreReleases](#releases-and-prereleases) -- [CI Systems](#ci-systems) - - [GitHub Actions](#github-actions) - - [AppVeyor](#appveyor) -- [Maintainer](#maintainer) -- [Contributing](#contributing) - - [Contributors](#contributors) -- [License](#license) +- [Cake.IntelliJ.Recipe](#cakeintellijrecipe) + - [Table of Contents](#table-of-contents) + - [Install](#install) + - [Usage](#usage) + - [Discussion](#discussion) + - [Settings](#settings) + - [Analyze](#analyze) + - [Channels](#channels) + - [Grade-Verbosity](#grade-verbosity) + - [Marketplace-ID](#marketplace-id) + - [PluginVerifier](#pluginverifier) + - [Publishing](#publishing) + - [Changes to the template](#changes-to-the-template) + - [Readme](#readme) + - [Changelog](#changelog) + - [Releases and PreReleases](#releases-and-prereleases) + - [CI Systems](#ci-systems) + - [GitHub Actions](#github-actions) + - [operating systems](#operating-systems) + - [java version](#java-version) + - [gradle](#gradle) + - [AppVeyor](#appveyor) + - [operating systems](#operating-systems-1) + - [java version](#java-version-1) + - [gradle](#gradle-1) + - [Maintainer](#maintainer) + - [Contributing](#contributing) + - [Contributors](#contributors) + - [License](#license) ## Install @@ -69,14 +79,22 @@ If you have questions, search for an existing one, or create a new discussion on ## Settings -### Publishing +### Analyze -To publish the plugin to the [JetBrains Marketplace](https://plugins.jetbrains.com/) a [token](https://plugins.jetbrains.com/author/me/tokens) is required. -The token must be supplied in an environment variable and then picked up in the `gradle` build. -Default for plugins created from https://github.com/JetBrains/intellij-platform-plugin-template is to use the `PUBLISH_TOKEN` variable name. +The Cake target `IntelliJAnalyze` is run on every build and is used to run code analysis. -Also, as with the "normal" gradle-based publishing, the first publish of the plugin must be made manually. +The default in this target is to run the following gradle tasks: +`detekt`, `ktlintCheck`, and `verifyPlugin`. +If for some reason this should be changed (e.g. for plugins that do not use detekt and ktlint but rather depend on something different), +the tasks to invoke can be configured using the `intelliJAnalyzerTasks` setting. + +```csharp +IntelliJBuildParameters.SetParameters( + // ... all other parameters ... + intelliJAnalyzerTasks: new[]{ "check", "verifyPlugin" } +); +``` ### Channels Settings with regard to publishing channels are: @@ -89,6 +107,13 @@ Settings with regard to publishing channels are: See [Releases and PreReleases](#releases-and-prereleases) for their meaning. +### Grade-Verbosity + +The verbosity of running gradle has it's own setting: `gradleVerbosity`. (Default is set to `GradleLogLevel.Default`) + +Keep in mind, that while setting Cake verbosity to `diagnostic`, secrets will still be secret. +However, setting gradle verbosity to `GradleLogLevel.Debug` will print out all secrets in the logs. + ### Marketplace-ID When publishing is automated, Twitter and Gitter messages can be created. To have them link to the plugin-page in the marketplace, @@ -96,12 +121,30 @@ a setting of `marketplaceId` is needed. The `marketplaceId` can be fetched from All other settings for Twitter, Gitter and such follow [Cake.Recipe](https://cake-contrib.github.io/Cake.Recipe/docs/fundamentals/environment-variables#twitter). -### Grade-Verbosity +### PluginVerifier -The verbosity of running gradle has it's own setting: `gradleVerbosity`. (Default is set to `GradleLogLevel.Default`) +The gradle task `runPluginVerifier` runs the [JetBrains plugin verifier](https://github.com/JetBrains/intellij-plugin-verifier). +This task is "mapped" to the Cake target `Run-Plugin-Verifier` which runs on `CI` builds. +If running on CI builds is not desired for any reason, the setting `shouldRunPluginVerifier` can be used to disable the run. -Keep in mind, that while setting Cake verbosity to `diagnostic`, secrets will still be secret. -However, setting gradle verbosity to `GradleLogLevel.Debug` will print out all secrets in the logs. + +Example: Do not run the plugin verifier, if the build runs on Linux (e.g. beacuse the GitHub actions Linux runner does not have enough +free space for the plugin verifier.) + +```csharp +IntelliJBuildParameters.SetParameters( + // ... all other parameters ... + shouldRunPluginVerifier: !IsRunningOnLinux() +); +``` + +### Publishing + +To publish the plugin to the [JetBrains Marketplace](https://plugins.jetbrains.com/) a [token](https://plugins.jetbrains.com/author/me/tokens) is required. +The token must be supplied in an environment variable and is then picked up in the `gradle` build. +Default for plugins created from https://github.com/JetBrains/intellij-platform-plugin-template is to use the `PUBLISH_TOKEN` variable name. + +Also, as with the "normal" gradle-based publishing, the first publish of the plugin must be made manually. ## Changes to the template From 22011ffd633c39a6f035f11e15882c2f8ae64a98 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 15 May 2024 21:24:43 +0200 Subject: [PATCH 27/27] (#124) update GitReleaseManager to 0.17.0 --- recipe.cake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe.cake b/recipe.cake index ab9b71f..bad6e09 100644 --- a/recipe.cake +++ b/recipe.cake @@ -24,6 +24,9 @@ BuildParameters.SetParameters( BuildParameters.PrintParameters(Context); +ToolSettings.SetToolPreprocessorDirectives( + gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.17.0"); + ToolSettings.SetToolSettings(context: Context); BuildParameters.Tasks.CleanTask