Skip to content

Commit ecea59a

Browse files
authored
CI: setup-gradle action, no validate-wrappers (#98)
The setup-gradle action fails, if the wrapper is not using the right version, is not present. Our `gradlew` validates the integrity of the `gradle-wrapper.jar`, so it's safe to disable this.
1 parent 4aea20e commit ecea59a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
4949
- name: Setup Gradle
5050
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4
51+
with:
52+
# The setup-gradle action fails, if the wrapper is not using the right version or is not present.
53+
# Our `gradlew` validates the integrity of the `gradle-wrapper.jar`, so it's safe to disable this.
54+
validate-wrappers: false
5155

5256
- name: Check formatting
5357
run: ./gradlew check

0 commit comments

Comments
 (0)