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