From efd112133404df5b87bc4fb0ec01231fe27a4316 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Aug 2024 00:53:26 +0000 Subject: [PATCH 1/2] Update gradle/actions action to v4 --- .github/actions/setup-gradle-build/action.yml | 2 +- .github/workflows/generate-changelog.yml | 2 +- .github/workflows/gradle-wrapper-validation.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-gradle-build/action.yml b/.github/actions/setup-gradle-build/action.yml index 27fc5ae088..3120a0fda7 100644 --- a/.github/actions/setup-gradle-build/action.yml +++ b/.github/actions/setup-gradle-build/action.yml @@ -35,6 +35,6 @@ runs: printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 with: gradle-home-cache-cleanup: true diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 6527b9d9a3..5392b3c0ac 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -16,7 +16,7 @@ jobs: distribution: 'zulu' java-version: 21 - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 with: gradle-home-cache-cleanup: true diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 801432fd68..e49bbe8496 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -8,4 +8,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - - uses: gradle/actions/wrapper-validation@v3 + - uses: gradle/actions/wrapper-validation@v4 From 6300ea1855a1b9b900d68133d9d51df230f8389f Mon Sep 17 00:00:00 2001 From: Paul Dingemans Date: Tue, 13 Aug 2024 09:27:16 +0200 Subject: [PATCH 2/2] Update gradle/actions to v4 - Remove explicit gradle wrapper-validation as this is now done by setup-gradle-build action Closes #2760 --- .github/actions/setup-gradle-build/action.yml | 2 -- .github/workflows/generate-changelog.yml | 2 -- .github/workflows/gradle-wrapper-validation.yml | 11 ----------- 3 files changed, 15 deletions(-) delete mode 100644 .github/workflows/gradle-wrapper-validation.yml diff --git a/.github/actions/setup-gradle-build/action.yml b/.github/actions/setup-gradle-build/action.yml index 3120a0fda7..29c6d20210 100644 --- a/.github/actions/setup-gradle-build/action.yml +++ b/.github/actions/setup-gradle-build/action.yml @@ -36,5 +36,3 @@ runs: shell: bash - uses: gradle/actions/setup-gradle@v4 - with: - gradle-home-cache-cleanup: true diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 5392b3c0ac..c5e1b9f42f 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -17,8 +17,6 @@ jobs: java-version: 21 - uses: gradle/actions/setup-gradle@v4 - with: - gradle-home-cache-cleanup: true - name: Get last released version run: echo "version=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml deleted file mode 100644 index e49bbe8496..0000000000 --- a/.github/workflows/gradle-wrapper-validation.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: "Validate Gradle Wrapper" - -on: [push, pull_request] - -jobs: - validation: - name: "Validation" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - - uses: gradle/actions/wrapper-validation@v4