.gitlab-ci: Enable ktlint checks for CI
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -12,8 +12,8 @@ variables:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- lint
|
||||||
- upload
|
- upload
|
||||||
- release
|
|
||||||
|
|
||||||
assembleVanillaDebug:
|
assembleVanillaDebug:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -25,6 +25,12 @@ assembleVanillaDebug:
|
|||||||
- $DEBUG_BINARY_PATH
|
- $DEBUG_BINARY_PATH
|
||||||
- 'app/schemas/com.aurora.store.data.room.AuroraDatabase/'
|
- 'app/schemas/com.aurora.store.data.room.AuroraDatabase/'
|
||||||
|
|
||||||
|
lintChecks:
|
||||||
|
stage: lint
|
||||||
|
image: theimpulson/gitlab-ci-android:latest
|
||||||
|
script:
|
||||||
|
- './gradlew ktlintCheck'
|
||||||
|
|
||||||
uploadDebug:
|
uploadDebug:
|
||||||
stage: upload
|
stage: upload
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user