Skip to content

Commit f7673d5

Browse files
committed
update action
1 parent 294d3a6 commit f7673d5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/android.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,22 @@ name: Android CI
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
5+
branches:
6+
- main
87

98
jobs:
109
build:
11-
1210
runs-on: ubuntu-latest
13-
1411
steps:
1512
- uses: actions/checkout@v2
1613
- name: set up JDK 11
1714
uses: actions/setup-java@v2
1815
with:
1916
java-version: '11'
2017
distribution: 'adopt'
21-
2218
- name: Grant execute permission for gradlew
2319
run: chmod +x gradlew
2420
- name: Build with Gradle
2521
run: ./gradlew build
22+
- name: spotless
23+
run: ./gradlew spotlessCheck

0 commit comments

Comments
 (0)