Skip to content

Commit ce42c26

Browse files
authored
Merge pull request #1020 from wordpress-mobile/add/gradle-wrapper-validation
Gradle Wrapper Validation
2 parents a28fe23 + 0018d71 commit ce42c26

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@ agents:
66
common_params:
77
# Common plugin settings to use with the `plugins` key.
88
- &common_plugins
9-
- automattic/bash-cache#2.6.0
9+
- automattic/bash-cache#2.11.0
1010

1111
steps:
12+
- label: "Gradle Wrapper Validation"
13+
command: |
14+
validate_gradle_wrapper
15+
plugins: *common_plugins
16+
17+
# Wait for Gradle Wrapper to be validated before running any other jobs
18+
- wait
19+
1220
- label: "Lint"
1321
key: "lint"
1422
command: .buildkite/commands/lint.sh
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: "Validate Gradle Wrapper"
2+
on: [push, pull_request]
3+
4+
jobs:
5+
validation:
6+
name: "Validation"
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: gradle/wrapper-validation-action@v1

0 commit comments

Comments
 (0)