Skip to content

Commit a25bb26

Browse files
authored
Merge pull request #6808 from litetex/ci-run-format-ktlin-before-building
Check formatting of kotlin files in CI
2 parents cd713db + 9032960 commit a25bb26

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
path: ~/.gradle/caches
3535
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
3636
restore-keys: ${{ runner.os }}-gradle
37+
38+
- name: Check if kotlin files are formatted correctly
39+
run: ./gradlew runKtlint
3740

3841
- name: Build debug APK and run jvm tests
3942
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace

0 commit comments

Comments
 (0)