Check formatting of kotlin files in CI
This commit is contained in:
parent
cd713db029
commit
903296014a
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -35,6 +35,9 @@ jobs:
|
|||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle
|
||||
|
||||
- name: Check if kotlin files are formatted correctly
|
||||
run: ./gradlew runKtlint
|
||||
|
||||
- name: Build debug APK and run jvm tests
|
||||
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace
|
||||
|
||||
|
|
Loading…
Reference in a new issue