File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : reviewdog-suggester
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopened]
5
+ jobs :
6
+ kotlin :
7
+ name : runner / suggester / spotless
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2 # required to compare
11
+ with :
12
+ ref : master
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-java@v2
15
+ with :
16
+ distribution : ' zulu'
17
+ java-version : ' 11'
18
+ - name : Make gradlew executable
19
+ run : chmod +x ./gradlew
20
+ - run : ./gradlew spotlessKotlinApply
21
+ - uses : reviewdog/action-suggester@v1
22
+ with :
23
+ github_token : ${{ secrets.GITHUB_TOKEN }}
24
+ tool_name : spotless
25
+ # Since "reviewdog/action-suggester" using "spotlessKotlinApply" does not work with forked PR,
26
+ # perform "spotlessKotlinCheck".
27
+ - run : ./gradlew spotlessKotlinCheck
28
+ - run : ./gradlew lintDebug
You can’t perform that action at this time.
0 commit comments