From 802c44ec135c451ddf7417300179365ca7dc5f20 Mon Sep 17 00:00:00 2001 From: David Smiley Date: Fri, 20 Mar 2026 21:37:16 -0400 Subject: [PATCH 1/4] GitHub Action: update setup-gradle to v5.0.2 --- .github/actions/prepare-for-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/prepare-for-build/action.yml b/.github/actions/prepare-for-build/action.yml index 4000a7c0d2a5..cbd06b78e9e8 100644 --- a/.github/actions/prepare-for-build/action.yml +++ b/.github/actions/prepare-for-build/action.yml @@ -33,7 +33,7 @@ runs: # This includes "smart" caching of gradle dependencies. - name: Set up Gradle - uses: gradle/actions/setup-gradle@v4 + uses: gradle/actions/setup-gradle@v5.0.2 with: # increase expiry time for the temp. develocity token. # https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#increasing-the-expiry-time-for-develocity-access-tokens From c79ecd7e05aae0e7ab7285da27165dbfbf2b0c37 Mon Sep 17 00:00:00 2001 From: David Smiley Date: Fri, 20 Mar 2026 21:42:16 -0400 Subject: [PATCH 2/4] trivial edit to activate workflow --- .github/workflows/solrj-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/solrj-test.yml b/.github/workflows/solrj-test.yml index 726094bac0ba..c81246b41be8 100644 --- a/.github/workflows/solrj-test.yml +++ b/.github/workflows/solrj-test.yml @@ -21,5 +21,5 @@ jobs: - uses: ./.github/actions/prepare-for-build - - name: Test the SolrJ Package + - name: Test SolrJ module run: ./gradlew solr:solrj:test From 66c13119dc341ee760f6a28c3abbbca6a6449808 Mon Sep 17 00:00:00 2001 From: David Smiley Date: Fri, 20 Mar 2026 21:55:00 -0400 Subject: [PATCH 3/4] try v5.0.0 instead --- .github/actions/prepare-for-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/prepare-for-build/action.yml b/.github/actions/prepare-for-build/action.yml index cbd06b78e9e8..8074a310021a 100644 --- a/.github/actions/prepare-for-build/action.yml +++ b/.github/actions/prepare-for-build/action.yml @@ -33,7 +33,7 @@ runs: # This includes "smart" caching of gradle dependencies. - name: Set up Gradle - uses: gradle/actions/setup-gradle@v5.0.2 + uses: gradle/actions/setup-gradle@v5.0.0 with: # increase expiry time for the temp. develocity token. # https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#increasing-the-expiry-time-for-develocity-access-tokens From d4ce5d26ed2174f8f3ac4020e49546049a2ccee8 Mon Sep 17 00:00:00 2001 From: David Smiley Date: Sat, 21 Mar 2026 00:44:43 -0400 Subject: [PATCH 4/4] setup-gradle: use hash Remove wrapper-validation -- redundant with setup-gradle --- .github/actions/prepare-for-build/action.yml | 2 +- .github/workflows/docker-nightly.yml | 2 +- .github/workflows/gradle-precommit.yml | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/prepare-for-build/action.yml b/.github/actions/prepare-for-build/action.yml index 8074a310021a..59d6a1845341 100644 --- a/.github/actions/prepare-for-build/action.yml +++ b/.github/actions/prepare-for-build/action.yml @@ -33,7 +33,7 @@ runs: # This includes "smart" caching of gradle dependencies. - name: Set up Gradle - uses: gradle/actions/setup-gradle@v5.0.0 + uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2 with: # increase expiry time for the temp. develocity token. # https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#increasing-the-expiry-time-for-develocity-access-tokens diff --git a/.github/workflows/docker-nightly.yml b/.github/workflows/docker-nightly.yml index f0f42d72cbd8..865c744a670f 100644 --- a/.github/workflows/docker-nightly.yml +++ b/.github/workflows/docker-nightly.yml @@ -117,7 +117,7 @@ jobs: key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }} - name: Set up Gradle - uses: gradle/actions/setup-gradle@v5 + uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2 with: develocity-token-expiry: 8 diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.yml index b2375ad8c1f0..ac56df84a17a 100644 --- a/.github/workflows/gradle-precommit.yml +++ b/.github/workflows/gradle-precommit.yml @@ -20,6 +20,3 @@ jobs: - name: Run gradle check (without tests) run: ./gradlew check -x test -Ptask.times=true --continue - - - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@v5