aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/pull_request_template.md2
-rw-r--r--.github/workflows/pull_request.yml4
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 39dc2e60..26f0f389 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -20,7 +20,7 @@
## :pencil: Checklist
<!--- Put an `x` in the boxes that apply -->
-- [ ] I formatted the code with the IDE's reformat action (Ctrl + Shift + L/Cmd + Shift + L)
+- [ ] I formatted the code `./gradlew spotlessApply`
- [ ] I reviewed submitted code
- [ ] I added a [CHANGELOG](CHANGELOG.md) entry if applicable
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' }}