Update ktlint

This commit is contained in:
Lucas Lima 2020-08-25 10:31:29 -03:00
parent 10176e25fc
commit 72bb36dc2e
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2

View file

@ -7,30 +7,30 @@ on:
jobs:
ktlint:
name: Kotlin Linter
name: Check Code Quality
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v2
- name: Clone PR
uses: actions/checkout@v1
- name: "ktlint"
uses: ScaCap/action-ktlint@master
- name: ktlint
uses: lucasnlm/ktlint-action@v1.0.0
test:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: |
./gradlew assembleDebug
./gradlew testGoogleDebugUnitTest --stacktrace
- uses: actions/checkout@v1
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: |
./gradlew assembleDebug
./gradlew testGoogleDebugUnitTest --stacktrace
fdroid:
name: F-droid build