summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-05-07 16:27:55 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-05-09 11:52:33 +0530
commit7050f0ea40fc0a0f1d190f5c2632e6b671beed4e (patch)
tree11bef5f84399bb60fd0f98fcf5c2334d566b5b06 /.github/workflows
parent00e0881e47fc1f9d7accb6a242417f7be636a9be (diff)
build: switch to Spotless for formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pull_request.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index dbfe2e4c..f74196c4 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -44,6 +44,8 @@ jobs:
- name: Checkout repository
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
+ with:
+ fetch-depth: 0
#with:
# ref: refs/pull/${{ github.event.pull_request.number }}/merge
@@ -55,7 +57,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
with:
- arguments: apiCheck testFreeDebug lintFreeDebug ktfmtCheck
+ arguments: apiCheck testFreeDebug lintFreeDebug spotlessCheck
- name: Run instrumentation tests
if: ${{ steps.service-changed.outputs.result == 'true' }}