Bump AGP 8.0.2, Gradle 8.3, Kotlin 1.8.21, Prod & Test Libs to latest #128
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 | |
on: pull_request | |
jobs: | |
commitsar: | |
runs-on: [ubuntu-latest] | |
name: Verify commit messages | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run commitsar | |
uses: docker://commitsar/commitsar | |
unit-tests: | |
runs-on: [ubuntu-latest] | |
name: Run unit tests | |
steps: | |
- name: Install Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Cache Gradle Folders | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches/ | |
~/.gradle/wrapper/ | |
key: cache-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: | | |
cache-gradle- | |
- name: Run check | |
run: ./gradlew check | |
integration-tests: | |
runs-on: macos-latest | |
name: Run integration tests | |
steps: | |
- name: Install Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
script: ./gradlew connectedCheck | |
assemble: | |
runs-on: [ubuntu-latest] | |
name: Assemble the project | |
steps: | |
- name: Install Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Cache Gradle Folders | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches/ | |
~/.gradle/wrapper/ | |
key: cache-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: | | |
cache-gradle- | |
- name: Run assembleDebug | |
run: ./gradlew assembleDebug | |
publishToMavenLocal: | |
runs-on: [ubuntu-latest] | |
name: Publish to Maven local | |
steps: | |
- name: Install Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Cache Gradle Folders | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches/ | |
~/.gradle/wrapper/ | |
key: cache-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: | | |
cache-gradle- | |
- name: Run publishToMavenLocal | |
run: ./gradlew publishToMavenLocal |