Skip to content

Commit

Permalink
refactor: put gradle wrapper on its own workflow (#3114)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Jul 2, 2023
1 parent 70d941d commit 9f71a78
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- uses: gradle/wrapper-validation-action@v1.0.6
- name: Build and test
uses: gradle/gradle-build-action@v2.4.2
with:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Gradle Validate
on:
push:
branches:
- master
pull_request:
paths:
- 'gradle/wrapper/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/wrapper-validation-action@v1.0.6

0 comments on commit 9f71a78

Please sign in to comment.