File tree Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Original file line number Diff line number Diff line change 8
8
branches : [ master ]
9
9
10
10
concurrency :
11
- group : ci-${{ github.ref }}
11
+ group : ci-pull-request- ${{ github.ref }}
12
12
cancel-in-progress : true
13
13
14
14
jobs :
15
- lintAndApiChecks :
16
- runs-on : macos-latest
17
- steps :
18
- - uses : actions/checkout@v4
19
- with :
20
- ref : ${{ github.head_ref }}
21
- - name : Set up JDK
22
- uses : actions/setup-java@v4
23
- with :
24
- distribution : ' zulu'
25
- java-version : ' 17'
26
- - uses : maxim-lobanov/setup-xcode@v1
27
- with :
28
- xcode-version : latest-stable
29
- - name : Lint Kotlin
30
- run : ./gradlew lintKotlin
31
- - name : Api File Update
32
- run : ./gradlew apiCheck
33
15
jobMatrixSetup :
34
- needs : lintAndApiChecks
35
16
runs-on : macos-latest
36
17
outputs :
37
18
emulator_jobs_matrix : ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
Original file line number Diff line number Diff line change 1
- name : Pull Request Target
1
+ name : Lint and API Checks
2
2
3
3
on :
4
4
pull_request_target :
5
5
branches : [ master ]
6
6
7
7
concurrency :
8
- group : ci-${{ github.ref }}
8
+ group : ci-lint-api-check- ${{ github.ref }}
9
9
cancel-in-progress : true
10
10
11
11
jobs :
@@ -15,13 +15,21 @@ jobs:
15
15
contents : write
16
16
steps :
17
17
- uses : actions/checkout@v4
18
- with :
19
- ref : ${{ github.head_ref }}
20
18
- name : Set up JDK
21
19
uses : actions/setup-java@v4
22
20
with :
23
21
distribution : ' zulu'
24
22
java-version : ' 17'
23
+ cache : gradle
24
+ - name : Cocoapods cache
25
+ uses : actions/cache@v4
26
+ with :
27
+ path : |
28
+ ~/.cocoapods
29
+ ~/Library/Caches/CocoaPods
30
+ */build/cocoapods
31
+ */build/classes
32
+ key : cocoapods-cache-v2
25
33
- uses : maxim-lobanov/setup-xcode@v1
26
34
with :
27
35
xcode-version : latest-stable
You can’t perform that action at this time.
0 commit comments