Fix for Uncaught Exception and Crash, Lost Messages in Unsynchronized Local-Only Folders #3725
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: | |
pull_request: | |
paths-ignore: | |
- '.idea/**' | |
- '.gitattributes' | |
- '.github/**.json' | |
- '.gitignore' | |
- '.gitmodules' | |
- '**.md' | |
- 'LICENSE' | |
- 'NOTICE' | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/actions/wrapper-validation@v4 | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Quality - Spotless | |
run: ./gradlew spotlessCheck | |
- name: Quality - Detekt | |
run: ./gradlew detekt | |
- name: Quality - Lint | |
run: ./gradlew lint | |
- name: Quality - Dependency Guard | |
run: ./gradlew dependencyGuard | |
- name: Build | |
run: ./gradlew assembleDebug | |
- name: Test | |
run: ./gradlew testsOnCi |