Skip to content

Commit

Permalink
Move Gradle wrapper validator action to own workflow
Browse files Browse the repository at this point in the history
It fails too much!  Copied from cashapp/molecule.
  • Loading branch information
John Rodriguez committed May 14, 2023
1 parent 9f2319c commit eb34f8a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Validate Gradle Wrapper
uses: gradle/[email protected]

- name: Configure JDK
uses: actions/setup-java@v3
with:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: gradle-wrapper

on:
pull_request:
paths:
- 'gradlew'
- 'gradlew.bat'
- 'gradle/wrapper/'

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

0 comments on commit eb34f8a

Please sign in to comment.