Create license #1
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 Build | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Run Spotless Apply | |
run: ./gradlew spotlessApply | |
- name: Run Spotless Check | |
run: ./gradlew spotlessCheck | |
- name: Run Tests | |
run: ./gradlew testDebugUnitTest | |
- name: Build Project | |
run: ./gradlew assembleDebug |