Remove unused app_name string resource #119
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: CI | |
on: | |
# Only run push on master | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
# Always run on PRs | |
pull_request: | |
jobs: | |
build: | |
name: JDK ${{ matrix.java_version }} | |
runs-on: macos-15 | |
strategy: | |
matrix: | |
java_version: [11] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java_version }} | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Cache gradle packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Install Android SDK | |
uses: malinskiy/action-android/install-sdk@release/0.1.0 | |
- name: Configure Gradle | |
run: ./gradlew help | |
- name: Check formatting | |
run: ./gradlew spotlessCheck --stacktrace | |
- name: Build project | |
run: ./gradlew assemble --stacktrace | |
# TODO split test and instrumentation into parallel builds | |
- name: Run tests | |
run: ./gradlew test --stacktrace | |
- name: Run instrumentation tests | |
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.0 | |
with: | |
cmd: ./gradlew connectedCheck --stacktrace | |
api: 30 | |
tag: default | |
abi: arm64-v8a | |
- name: Full check | |
run: ./gradlew check --stacktrace | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Sample App | |
path: sample/build/outputs |