Merge pull request #337 from cbalster/update_target_sdk_and_minor_cle… #58
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: Run Build and Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
RunBuildAndUnitTests: | |
name: Build and Test | |
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@v2 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Run Android Linter | |
run: ./gradlew lint --stacktrace | |
- name: Run Unit Tests | |
run: ./gradlew testDebugUnitTest --stacktrace | |
- name: Assemble Debug APK | |
run: ./gradlew assembleDebug --stacktrace |