Skip to content

Commit 4580ec4

Browse files
Update gradle-actions to v6 (#488)
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [gradle/actions](https://redirect.github.com/gradle/actions) | action | major | `v5` → `v6` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/gradle%2factions/v6.2.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/gradle%2factions/v5.0.2/v6.2.0?slim=true) | | [gradle:actions__setup-gradle](https://redirect.github.com/gradle/actions) | | major | `v5` → `v6` | ![age](https://developer.mend.io/api/mc/badges/age/maven/gradle:actions__setup-gradle/v6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/gradle:actions__setup-gradle/v5/v6?slim=true) | --- ### Release Notes <details> <summary>gradle/actions (gradle/actions)</summary> ### [`v6.2.0`](https://redirect.github.com/gradle/actions/releases/tag/v6.2.0) [Compare Source](https://redirect.github.com/gradle/actions/compare/v6.1.1...v6.2.0) ##### Highlights This release brings significant behaviour improvements to **Enhanced caching**, improvements to the generated Job Summary, and a number of correctness and security fixes. 1. **Improved cache-cleanup mechanism.** Cleanup of stale files from the Gradle User Home is now faster, and no longer depends on Gradle or a JVM. It works by inspecting the local file state directly, removing the Gradle invocation from the post-build step. 2. **More granular, more stable caching.** The local build cache is stored as a separate cache entry, so it can be restored and invalidated independently of the main Gradle User Home entry. Transient Gradle housekeeping files are excluded from the cache, reducing its size and improving stability. 3. **Hide obsolete Job summaries in PR commments**: When a new Job summary comment is added to a PR, previous outdated Job summaries are now hidden. 4. **Improved caching report in the job summary.** The cache report now uses a single, consistent layout across all cache states and providers. Provider information is integrated directly into the report, and per-entry details are available in an expandable section. ([#&#8203;985](https://redirect.github.com/gradle/actions/issues/985)) 5. **Correctness and security fixes.** A unique cache key is now used per run attempt, so re-runs no longer collide; the job summary shows the cache key string rather than an internal id; and bundled dependencies have been updated, including a ReDoS fix and a fast-xml CVE fix. ##### What's Changed - Remove unnecessary dependency overrides by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;981](https://redirect.github.com/gradle/actions/pull/981) - Scope CI-integ-test concurrency groups per-branch by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;983](https://redirect.github.com/gradle/actions/pull/983) - Improve typings by [@&#8203;Vampire](https://redirect.github.com/Vampire) in [#&#8203;938](https://redirect.github.com/gradle/actions/pull/938) - Hide obsolete Job summaries by [@&#8203;SimonMarquis](https://redirect.github.com/SimonMarquis) in [#&#8203;902](https://redirect.github.com/gradle/actions/pull/902) - CI: add requireable aggregate/no-op checks for branch protection by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;984](https://redirect.github.com/gradle/actions/pull/984) - Redesign the caching Job Summary by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;985](https://redirect.github.com/gradle/actions/pull/985) ##### New Contributors - [@&#8203;Vampire](https://redirect.github.com/Vampire) made their first contribution in [#&#8203;938](https://redirect.github.com/gradle/actions/pull/938) **Full Changelog**: <gradle/actions@v6.1.1...v6.2.0> ### [`v6.1.1`](https://redirect.github.com/gradle/actions/releases/tag/v6.1.1) [Compare Source](https://redirect.github.com/gradle/actions/compare/v6.1.0...v6.1.1) This release updates various dependency versions, resolving several reported security vulnerabilities. No functional changes are included ##### What's Changed - Bump Gradle Wrapper from 9.4.1 to 9.5.1 in /sources/test/init-scripts by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;961](https://redirect.github.com/gradle/actions/pull/961) - Bump Gradle Wrapper from 9.4.1 to 9.5.1 in /.github/workflow-samples/gradle-plugin by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;962](https://redirect.github.com/gradle/actions/pull/962) - Bump Gradle Wrapper from 9.4.1 to 9.5.1 in /.github/workflow-samples/groovy-dsl by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;963](https://redirect.github.com/gradle/actions/pull/963) - Bump Gradle Wrapper from 9.4.1 to 9.5.1 in /.github/workflow-samples/java-toolchain by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;964](https://redirect.github.com/gradle/actions/pull/964) - Bump Gradle Wrapper from 9.4.1 to 9.5.1 in /.github/workflow-samples/kotlin-dsl by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;965](https://redirect.github.com/gradle/actions/pull/965) - Update known wrapper checksums by [@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot] in [#&#8203;937](https://redirect.github.com/gradle/actions/pull/937) - Bump the github-actions group across 2 directories with 8 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;976](https://redirect.github.com/gradle/actions/pull/976) - Bump the npm-dependencies group across 1 directory with 14 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;970](https://redirect.github.com/gradle/actions/pull/970) - Bump references to Develocity Gradle plugin from 4.4.0 to 4.4.2 by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;973](https://redirect.github.com/gradle/actions/pull/973) - Bump the npm-dependencies group in /sources with 5 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;977](https://redirect.github.com/gradle/actions/pull/977) - Update [@&#8203;actions/cache](https://redirect.github.com/actions/cache) and [@&#8203;actions/artifact](https://redirect.github.com/actions/artifact), stop ignoring them in Dependabot by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;978](https://redirect.github.com/gradle/actions/pull/978) - Resolve npm security vulnerabilities via dependency overrides by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;980](https://redirect.github.com/gradle/actions/pull/980) **Full Changelog**: <gradle/actions@v6.1.0...v6.1.1> ### [`v6.1.0`](https://redirect.github.com/gradle/actions/releases/tag/v6.1.0) [Compare Source](https://redirect.github.com/gradle/actions/compare/v6.0.1...v6.1.0) ##### New: Basic Cache Provider A new MIT-licensed **Basic Caching** provider is now available as an alternative to the proprietary **Enhanced Caching** provided by `gradle-actions-caching`. Choose Basic Caching by setting `cache-provider: basic` on `setup-gradle` or `dependency-submission` actions. - Built on `@actions/cache` -- fully open source - Caches `~/.gradle/caches` and `~/.gradle/wrapper` directories - Cache key derived from build files (`*.gradle*`, `gradle-wrapper.properties`, etc.) - Clean cache on build file changes (no restore keys, preventing stale entry accumulation) **Limitations vs Enhanced Caching:** No cache cleanup, no deduplication of cached content, cached content is fixed unless build files change. ##### Revamped Licensing & Distribution Documentation - New **DISTRIBUTION.md** documents the licensing of each component (particularly Basic Caching vs Enhanced Caching) - Simplified licensing notices in README, docs, and runtime log output - Clear usage tiers: Enhanced Caching is free for public repos and in Free Preview for private repos ##### What's Changed - Use a unique cache entry for wrapper-validation test by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;921](https://redirect.github.com/gradle/actions/pull/921) - Update Dependencies by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;922](https://redirect.github.com/gradle/actions/pull/922) - Update dependencies and resolve npm vulnerabilities by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;933](https://redirect.github.com/gradle/actions/pull/933) - Add open-source 'basic' cache provider and revamp licensing documentation by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;930](https://redirect.github.com/gradle/actions/pull/930) - Restructure caching documentation for basic and enhanced providers by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;934](https://redirect.github.com/gradle/actions/pull/934) **Full Changelog**: <gradle/actions@v6.0.1...v6.1.0> ### [`v6.0.1`](https://redirect.github.com/gradle/actions/releases/tag/v6.0.1) [Compare Source](https://redirect.github.com/gradle/actions/compare/v6...v6.0.1) > \[!IMPORTANT] > The release of `gradle/actions@v6` contains important changes to the license terms. More details in [this blog post](https://blog.gradle.org/github-actions-for-gradle-v6). > **TL;DR**: By upgrading to v6, you accept the [Terms of Use](https://gradle.com/legal/terms-of-use/) for the `gradle-actions-caching` component. ##### Summary The [license changes in v6](https://blog.gradle.org/github-actions-for-gradle-v6) introduced a `gradle-actions-caching` license notice that is printed in logs and in each job summary. With this release, the license notice will be muted if build-scan terms have been accepted, or if a Develocity access key is provided. ##### What's Changed - Bump actions used in docs by [@&#8203;Goooler](https://redirect.github.com/Goooler) in [#&#8203;792](https://redirect.github.com/gradle/actions/pull/792) - Add typing information for use by typesafegithub by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;910](https://redirect.github.com/gradle/actions/pull/910) - Mute license warning when terms are accepted by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;911](https://redirect.github.com/gradle/actions/pull/911) - Mention explicit license acceptance in notice by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;912](https://redirect.github.com/gradle/actions/pull/912) - Bump com.fasterxml.jackson.dataformat:jackson-dataformat-smile from 2.21.1 to 2.21.2 in /sources/test/init-scripts in the gradle group across 1 directory by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;907](https://redirect.github.com/gradle/actions/pull/907) **Full Changelog**: <gradle/actions@v6.0.0...v6.0.1> ### [`v6.0.0`](https://redirect.github.com/gradle/actions/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/gradle/actions/compare/v6...v6) > \[!IMPORTANT] > The release of `gradle/actions@v6` contains important changes to the license terms. More details in [this blog post](https://blog.gradle.org/github-actions-for-gradle-v6). > **TL;DR**: By upgrading to v6, you accept the [Terms of Use](https://gradle.com/legal/terms-of-use/) for the `gradle-actions-caching` component. ##### Summary - Caching functionality of 'gradle-actions' has been extracted into a separate `gradle-actions-caching` library, and is no longer open-source. See [this blog post](https://blog.gradle.org/github-actions-for-gradle-v6) for more context. - Existing, rudimentary, configuration-cache support has been removed, pending a fully functional implementation in `gradle-actions-caching`. - Dependencies updated to address security vulnerabilities > \[!IMPORTANT] > > #### Licensing notice > > The caching functionality in \`gradle-actions\` has been extracted into \`gradle-actions-caching\`, a proprietary commercial component that is not covered by the MIT License. > The bundled \`gradle-actions-caching\` component is licensed and governed by a separate license, available at <https://gradle.com/legal/terms-of-use/>. > > The \`gradle-actions-caching\` component is used only when caching is enabled and is not loaded or used when caching is disabled. > > Use of the \`gradle-actions-caching\` component is subject to a separate license, available at <https://gradle.com/legal/terms-of-use/>. > If you do not agree to these license terms, do not use the \`gradle-actions-caching\` component. ##### What's Changed - Bump the npm-dependencies group in /sources with 2 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;866](https://redirect.github.com/gradle/actions/pull/866) - Update known wrapper checksums by [@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot] in [#&#8203;868](https://redirect.github.com/gradle/actions/pull/868) - Dependency updates by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;876](https://redirect.github.com/gradle/actions/pull/876) - Update known wrapper checksums by [@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot] in [#&#8203;878](https://redirect.github.com/gradle/actions/pull/878) - Bump [@&#8203;types/node](https://redirect.github.com/types/node) from 25.3.3 to 25.3.5 in /sources in the npm-dependencies group across 1 directory by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;877](https://redirect.github.com/gradle/actions/pull/877) - Bump the github-actions group across 3 directories with 3 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;867](https://redirect.github.com/gradle/actions/pull/867) - Update known wrapper checksums by [@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot] in [#&#8203;881](https://redirect.github.com/gradle/actions/pull/881) - Bump the npm-dependencies group in /sources with 6 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;879](https://redirect.github.com/gradle/actions/pull/879) - Bump the github-actions group across 3 directories with 5 updates by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;880](https://redirect.github.com/gradle/actions/pull/880) - Remove configuration-cache support by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;884](https://redirect.github.com/gradle/actions/pull/884) - Extract caching logic into a separate `gradle-actions-caching` component by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;885](https://redirect.github.com/gradle/actions/pull/885) - Update gradle-actions-caching library to v0.3.0 by [@&#8203;bot-githubaction](https://redirect.github.com/bot-githubaction) in [#&#8203;899](https://redirect.github.com/gradle/actions/pull/899) - Avoid windows shutdown bug by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;900](https://redirect.github.com/gradle/actions/pull/900) - Dependency updates by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;905](https://redirect.github.com/gradle/actions/pull/905) - Fix critical and high npm vulnerabilities by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;904](https://redirect.github.com/gradle/actions/pull/904) - Fix rendering of job-disabled message by [@&#8203;bigdaz](https://redirect.github.com/bigdaz) in [#&#8203;909](https://redirect.github.com/gradle/actions/pull/909) **Full Changelog**: <gradle/actions@v5.0.2...v6.0.0> ### [`v6`](https://redirect.github.com/gradle/actions/compare/v5.0.2...v6) [Compare Source](https://redirect.github.com/gradle/actions/compare/v5.0.2...v6) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "every 1 week on saturday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/typesafegithub/github-actions-typing). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 9e49270 commit 4580ec4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/make-branch-runnable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
repository: 'typesafegithub/github-actions-typing-catalog'
3737
path: 'github-actions-typing-catalog'
3838
- id: 'step-2'
39-
uses: 'gradle/actions/setup-gradle@v5'
39+
uses: 'gradle/actions/setup-gradle@v6'
4040
- id: 'step-3'
4141
working-directory: 'github-actions-typing'
4242
run: './gradlew build'

.github/workflows/release.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
@file:Repository("https://bindings.krzeminski.it")
77
@file:DependsOn("actions:checkout:v7")
8-
@file:DependsOn("gradle:actions__setup-gradle:v5")
8+
@file:DependsOn("gradle:actions__setup-gradle:v6")
99
@file:OptIn(ExperimentalKotlinLogicStep::class)
1010

1111
import io.github.typesafegithub.workflows.actions.actions.Checkout

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
repository: 'typesafegithub/github-actions-typing-catalog'
4242
path: 'github-actions-typing-catalog'
4343
- id: 'step-2'
44-
uses: 'gradle/actions/setup-gradle@v5'
44+
uses: 'gradle/actions/setup-gradle@v6'
4545
- id: 'step-3'
4646
working-directory: 'github-actions-typing'
4747
run: './gradlew build'

0 commit comments

Comments
 (0)