summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-10 19:21:39 +0530
committerGitHub <noreply@github.com>2020-05-10 19:21:39 +0530
commit041cf00510a75042223d1857660fc7f1dff958ef (patch)
tree1b56e67e2b71afe23ac51b680b62ad778272f162 /.github/workflows
parent94dc92f8d70870b57a7f8c4fe8adef152c1211ce (diff)
Treewide codestyle cleanup (#765)
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy_snapshot.yml3
-rw-r--r--.github/workflows/pull_request.yml2
2 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml
index e1f6abb7..d67d3f38 100644
--- a/.github/workflows/deploy_snapshot.yml
+++ b/.github/workflows/deploy_snapshot.yml
@@ -28,9 +28,6 @@ jobs:
- name: Download gradle dependencies
run: ./gradlew dependencies
- - name: Validate codestyle with Spotless
- run: ./gradlew spotlessCheck
-
- name: Build release app
run: ./gradlew :app:assembleRelease
env:
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 59fd15f5..826e0ff5 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -52,7 +52,7 @@ jobs:
${{ runner.os }}-gradlebuildcache-
- name: Run unit tests
- run: ./gradlew spotlessCheck test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false
+ run: ./gradlew test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false
- name: Run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2