File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 8
8
branches : [ master ]
9
9
10
10
jobs :
11
- lint :
12
- runs-on : ubuntu-latest
11
+ formatKotlin :
12
+ runs-on : macos-latest
13
+ permissions :
14
+ contents : write
13
15
steps :
14
16
- uses : actions/checkout@v4
17
+ with :
18
+ ref : ${{ github.head_ref }}
15
19
- name : Set up JDK
16
20
uses : actions/setup-java@v4
17
21
with :
18
22
distribution : ' zulu'
19
23
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
24
+ - name : Format Kotlin
25
+ run : ./gradlew formatKotlin
26
+ - name : Api File Update
27
+ run : ./gradlew apiDump
28
+ - uses : stefanzweifel/git-auto-commit-action@v6
33
29
jobMatrixSetup :
34
30
runs-on : macos-latest
35
31
outputs :
You can’t perform that action at this time.
0 commit comments