File tree Expand file tree Collapse file tree 2 files changed +19
-42
lines changed Expand file tree Collapse file tree 2 files changed +19
-42
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches : [ master ]
9
9
10
+ concurrency :
11
+ group : ci-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
10
14
jobs :
11
- lint :
12
- runs-on : ubuntu-latest
15
+ lintAndApiChecks :
16
+ runs-on : macos-latest
17
+ permissions :
18
+ contents : write
13
19
steps :
14
20
- uses : actions/checkout@v4
21
+ with :
22
+ ref : ${{ github.head_ref }}
15
23
- name : Set up JDK
16
24
uses : actions/setup-java@v4
17
25
with :
18
26
distribution : ' zulu'
19
27
java-version : ' 17'
20
- - name : ktLint
21
- run : ./gradlew lintKotlin
22
- apiCheck :
23
- runs-on : ubuntu-latest
24
- steps :
25
- - uses : actions/checkout@v4
26
- - name : Set up JDK
27
- uses : actions/setup-java@v4
28
- with :
29
- distribution : ' zulu'
30
- java-version : ' 17'
31
- - name : Run Api Check
32
- run : ./gradlew apiCheck
28
+ - uses : maxim-lobanov/setup-xcode@v1
29
+ with :
30
+ xcode-version : latest-stable
31
+ - name : Format Kotlin
32
+ run : ./gradlew formatKotlin
33
+ - name : Api File Update
34
+ run : ./gradlew apiDump
35
+ - uses : stefanzweifel/git-auto-commit-action@v6
33
36
jobMatrixSetup :
37
+ needs : lintAndApiChecks
34
38
runs-on : macos-latest
35
39
outputs :
36
40
emulator_jobs_matrix : ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments