Refactor sample (#556) #1980
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: Build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Install JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 19 | |
- name: Install Android SDK | |
run: ./.github/android-sdk.sh | |
- uses: gradle/gradle-build-action@v2 | |
- name: Lint check with Ktlint | |
run: ./kotlinw .kts/ktlint.main.kts | |
- name: Build with Gradle | |
run: ./gradlew build buildHealth --stacktrace |