Skip to content

Commit ecec22c

Browse files
committed
Run Gradle wrapper validation separately, only on Ubuntu
We also only need to run it on PRs
1 parent 6ec969c commit ecec22c

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: PR Validation
2+
on:
3+
pull_request:
4+
branches: ['*']
5+
6+
jobs:
7+
validation:
8+
name: Validation
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: gradle/wrapper-validation-action@v1

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('gradle.properties') }}
2424
restore-keys: |
2525
${{ runner.os }}-gradle-
26-
- uses: gradle/wrapper-validation-action@v1
2726
- name: Setup publish token
2827
env:
2928
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ jobs:
3030
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('gradle.properties') }}
3131
restore-keys: |
3232
${{ runner.os }}-gradle-
33-
- uses: gradle/wrapper-validation-action@v1
3433
- run: ./gradlew build --no-daemon --stacktrace

0 commit comments

Comments
 (0)