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:
parent
0ba68177e3
commit
2778062528
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue