Skip to content

Commit

Permalink
Merge pull request TeamNewPipe#6808 from litetex/ci-run-format-ktlin-…
Browse files Browse the repository at this point in the history
…before-building

Check formatting of kotlin files in CI
  • Loading branch information
Stypox committed Jul 31, 2021
2 parents cd713db + 9032960 commit a25bb26
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 a25bb26

Please sign in to comment.