Update ktlint
This commit is contained in:
parent
10176e25fc
commit
72bb36dc2e
1 changed files with 14 additions and 14 deletions
28
.github/workflows/android.yml
vendored
28
.github/workflows/android.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue