Repository navigation
fix: CodeRabbit round 2 — scope the insecure-HTTP probe flag + accessible toggle row #25
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
| name: Android CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Unit tests | |
| run: ./gradlew testDebugUnitTest --no-daemon --stacktrace | |
| - name: Android Lint | |
| run: ./gradlew lintDebug --no-daemon --stacktrace | |
| - name: Assemble debug APK | |
| run: ./gradlew assembleDebug --no-daemon --stacktrace | |
| # Build the release variant too: it is the only path that exercises R8 / | |
| # resource shrinking, so a bad ProGuard/keep rule (e.g. a new @Serializable | |
| # model that R8 strips) is caught in CI instead of at runtime. Debug | |
| # signing is implicit and fine for a build-only check. | |
| - name: Assemble release APK (R8 / minify) | |
| run: ./gradlew assembleRelease --no-daemon --stacktrace | |
| - name: Upload reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-reports | |
| path: | | |
| app/build/reports/tests/testDebugUnitTest/ | |
| app/build/reports/lint-results-debug.html | |
| if-no-files-found: ignore | |
| retention-days: 14 |