Add gradle wrapper validation to required-status-checks (#6976)

So we can't accidentally merge a PR with this check failing.

Currently built on top of #6975
This commit is contained in:
Trask Stalnaker 2022-10-26 11:16:20 -07:00 committed by GitHub
parent 0ba68177e3
commit 2778062528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 16 deletions

View File

@ -44,6 +44,13 @@ jobs:
# gradle enterprise is used for the build cache
gradle-home-cache-excludes: caches/build-cache-1
gradle-wrapper-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1.0.5
license-check:
runs-on: ubuntu-latest
steps:

View File

@ -1,16 +0,0 @@
name: Gradle wrapper validation
on:
pull_request:
paths:
- '**/gradle/wrapper/**'
push:
paths:
- '**/gradle/wrapper/**'
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1.0.5