build(deps): bump io.github.ivamsi:snapnotify from 1.0.6 to 1.1.0 #114
Workflow file for this run
This file contains hidden or 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
| # Run unit tests, lint, and debug assemble on push/PR. | |
| name: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v6.0.0 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v4 | |
| with: | |
| packages: tools platform-tools platforms;android-37 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run Detekt | |
| run: ./gradlew detekt --stacktrace | |
| - name: Run Spotless | |
| run: ./gradlew spotlessCheck --stacktrace | |
| - name: Run unit tests (JVM + Android) | |
| run: ./gradlew test testDebugUnitTest --stacktrace | |
| - name: Verify code coverage (Kover) | |
| run: ./gradlew koverVerifyCoverage --stacktrace | |
| - name: Compile instrumentation tests | |
| run: ./gradlew :app:compileDebugAndroidTestSources --stacktrace | |
| - name: Run lint | |
| run: ./gradlew lintDebug --stacktrace | |
| - name: Assemble debug | |
| run: ./gradlew assembleDebug --stacktrace | |
| - name: Assemble release (R8 / baseline-prof / shrinker verification) | |
| run: ./gradlew assembleRelease --stacktrace | |
| - name: Upload unit test results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: unit-test-results | |
| path: | | |
| **/build/test-results/test/**/*.xml | |
| **/build/test-results/testDebugUnitTest/**/*.xml | |
| if-no-files-found: ignore | |
| - name: Upload lint reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: lint-reports | |
| path: | | |
| **/build/reports/lint-results-*.html | |
| **/build/reports/lint-results-*.xml | |
| if-no-files-found: ignore | |
| - name: Upload Detekt reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: detekt-reports | |
| path: | | |
| **/build/reports/detekt/** | |
| if-no-files-found: ignore | |
| # Instrumentation smoke template (enable when emulator runner is available in CI): | |
| # instrumentation-smoke: | |
| # runs-on: ubuntu-latest | |
| # timeout-minutes: 30 | |
| # steps: | |
| # - uses: actions/checkout@v7 | |
| # - uses: actions/setup-java@v6.0.0 | |
| # with: | |
| # distribution: temurin | |
| # java-version: 21 | |
| # - uses: android-actions/setup-android@v4 | |
| # - uses: gradle/actions/setup-gradle@v6 | |
| # - run: chmod +x gradlew | |
| # - name: Run connected debug tests | |
| # uses: reactivecircus/android-emulator-runner@v2 | |
| # with: | |
| # api-level: 34 | |
| # script: ./gradlew :app:connectedDebugAndroidTest --stacktrace |