Release: branching docs, README split, promotion fixes, demo GIF (#18) #52
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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Lint | |
| run: ./gradlew lint --console=plain | |
| - name: Unit tests | |
| run: ./gradlew test --console=plain | |
| - name: Assemble debug APK | |
| run: ./gradlew assembleDebug --console=plain | |
| - name: Upload lint report | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: lint-report | |
| path: app/build/reports/lint-results-*.html | |
| if-no-files-found: ignore | |
| - name: Upload test report | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-report | |
| path: app/build/reports/tests/ | |
| if-no-files-found: ignore |