Update plugin ksp to v2.0.21-1.0.28 #1207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: '17' | |
cache: 'gradle' | |
- name: Lint | |
run: ./gradlew detekt lint | |
test: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: '17' | |
cache: 'gradle' | |
- name: Run tests | |
run: ./gradlew testDebug --continue | |
assemble: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: '17' | |
cache: 'gradle' | |
- name: Build APK | |
run: ./gradlew assemble | |
androidtest: | |
runs-on: [self-hosted, androidtest, pixel3axl, apilevel32] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build APK for instrumented tests | |
run: ./gradlew packageDebug packageDebugAndroidTest | |
- name: Wake up the device | |
run: adb shell input keyevent KEYCODE_MENU | |
- name: Run instrumented tests with the physical device connected | |
run: ./gradlew connectedAndroidTest | |