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:
1414jobs :
1515 lintAndApiChecks :
1616 runs-on : macos-latest
17- permissions :
18- contents : write
1917 steps :
2018 - uses : actions/checkout@v4
2119 with :
@@ -28,11 +26,10 @@ jobs:
2826 - uses : maxim-lobanov/setup-xcode@v1
2927 with :
3028 xcode-version : latest-stable
31- - name : Format Kotlin
32- run : ./gradlew formatKotlin
29+ - name : Lint Kotlin
30+ run : ./gradlew lintKotlin
3331 - name : Api File Update
34- run : ./gradlew apiDump
35- - uses : stefanzweifel/git-auto-commit-action@v6
32+ run : ./gradlew apiCheck
3633 jobMatrixSetup :
3734 needs : lintAndApiChecks
3835 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