Skip to content

Commit

Permalink
Always validate the Gradle wrapper (#328)
Browse files Browse the repository at this point in the history
* Always validate the Gradle wrapper

* Use preinstalled OpenJDK

---------

Co-authored-by: hfhbd <[email protected]>
  • Loading branch information
dependabot[bot] and hfhbd authored May 12, 2024
1 parent cfb94de commit 3d15d01
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/AndroidIntegrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
- name: Publish
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: Build with Gradle
run: ./gradlew build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
- name: Generate Docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/gradleWrapper.yml

This file was deleted.

0 comments on commit 3d15d01

Please sign in to comment.