Skip to content

Commit

Permalink
Check formatting of kotlin files in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex authored Jul 28, 2021
1 parent cd713db commit 9032960
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
path: ~/.gradle/caches
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
Expand Down

0 comments on commit 9032960

Please sign in to comment.