Simplify creating content #67
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: Android CI | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Check Lint | |
run: ./gradlew ktlintCheck | |
- name: Unit Test | |
run: ./gradlew test | |
- name: Build with Gradle | |
run: ./gradlew build |