Skip to content

Commit f74e7ac

Browse files
authored
Update gradle workflows (#89)
1 parent 1ad792e commit f74e7ac

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/pre-merge.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,33 @@ jobs:
1414
steps:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v4
17-
- name: Run tests
17+
- name: Setup Gradle
1818
uses: gradle/actions/setup-gradle@v3
19-
- name: Build
19+
with:
20+
validate-wrappers: true
21+
- name: Run tests
2022
run: ./gradlew build
2123
publish:
2224
name: Check that the publish plugin works
2325
runs-on: ubuntu-latest
2426
steps:
2527
- name: Checkout Repo
2628
uses: actions/checkout@v4
27-
- name: Check that the publish plugin works
29+
- name: Setup Gradle
2830
uses: gradle/actions/setup-gradle@v3
29-
- name: Build
31+
with:
32+
validate-wrappers: true
33+
- name: Check that the publish plugin works
3034
run: ./gradlew publishToMavenLocal
3135
compile-test-snippets:
3236
name: Compile test snippets
3337
runs-on: ubuntu-latest
3438
steps:
3539
- name: Checkout Repo
3640
uses: actions/checkout@v4
37-
- name: Compile the snippets in the tests
41+
- name: Setup Gradle
3842
uses: gradle/actions/setup-gradle@v3
39-
- name: Build
43+
with:
44+
validate-wrappers: true
45+
- name: Compile the snippets in the tests
4046
run: ./gradlew test -Pcompile-test-snippets

0 commit comments

Comments
 (0)