Partly migrate AGP to 8.4.1, address ktlint reports. #84
Workflow file for this run
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
name: Pull Request Checker | |
on: pull_request | |
jobs: | |
unit-test: | |
name: Run test and check code change | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Generate cache key | |
run: ./checksum.sh checksum.txt | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('checksum.txt') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Run test and check code change | |
run: bash ./gradlew clean && ./gradlew test && ./gradlew check && ./gradlew assembleDebug --stacktrace |