From 7050f0ea40fc0a0f1d190f5c2632e6b671beed4e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 7 May 2021 16:27:55 +0530 Subject: build: switch to Spotless for formatting Signed-off-by: Harsh Shandilya --- .github/workflows/pull_request.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/pull_request.yml') 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' }} -- cgit v1.2.3