Skip to content

Commit 23515f6

Browse files
chore: upgrade gradle/actions to v6.1.0 with basic cache provider (#318)
* chore: upgrade gradle/actions to v6.1.0 with basic cache provider - Update all gradle/actions/setup-gradle and wrapper-validation references from v5.0.2 to v6.1.0 (SHA: 50e97c2cd7a37755bbfafc9c5b7cafaece252f6e) - Add cache-provider: basic to all setup-gradle steps to use the open-source basic cache provider instead of the default - Narrow dependabot ignore range for gradle/actions/setup-gradle from ">= 6.0.0, < 7.0.0" to ">= 6.0.0, < 6.1.0" so future v6.1.x+ updates are picked up automatically * chore: remove unused step ids from gradle setup actions
1 parent f980789 commit 23515f6

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ updates:
5050
interval: "monthly"
5151
ignore:
5252
- dependency-name: "gradle/actions/setup-gradle"
53-
versions: [">= 6.0.0, < 7.0.0"]
53+
versions: [">= 6.0.0, < 6.1.0"]
5454
groups:
5555
dependencies:
5656
patterns:

.github/workflows/main.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
distribution: "temurin"
3131
cache: gradle
3232

33+
# Use the open-source basic cache provider
3334
- name: Set up Gradle
34-
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
35+
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
36+
with:
37+
cache-provider: basic
3538

3639
- name: Test and Build with Gradle
3740
run: ./gradlew build test-integration
@@ -63,10 +66,13 @@ jobs:
6366
distribution: "temurin"
6467

6568
- name: Validate Gradle wrapper
66-
uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
69+
uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
6770

71+
# Use the open-source basic cache provider
6872
- name: Setup Gradle
69-
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
73+
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
74+
with:
75+
cache-provider: basic
7076

7177
# Tasks created by https://github.com/gradle-nexus/publish-plugin
7278
- name: Publish package
@@ -96,10 +102,13 @@ jobs:
96102
distribution: "temurin"
97103

98104
- name: Validate Gradle wrapper
99-
uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
105+
uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
100106

107+
# Use the open-source basic cache provider
101108
- name: Setup Gradle
102-
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
109+
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
110+
with:
111+
cache-provider: basic
103112

104113
# Tasks created by https://docs.gradle.org/current/userguide/publishing_maven.html
105114
- name: Publish package

0 commit comments

Comments
 (0)