Skip to content

feat(qr): add smooth weight and fill animation to scanner guidance ic… #226

feat(qr): add smooth weight and fill animation to scanner guidance ic…

feat(qr): add smooth weight and fill animation to scanner guidance ic… #226

Workflow file for this run

name: CI Build
on:
push:
branches:
- master
- main
- "feature/**"
- "fix/**"
pull_request:
branches:
- master
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build & Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: "21"
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-cleanup: on-success
cache-read-only: ${{ github.event_name == 'pull_request' || (github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main') }}
- name: Verify and build Debug APK
run: ./gradlew ktlintCheck testDebugUnitTest lintDebug assembleDebug --build-cache --configuration-cache --stacktrace
- name: Upload unit test results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-results-${{ github.run_number }}
path: app/build/test-results/
retention-days: 7
- name: Upload Lint report
if: always()
uses: actions/upload-artifact@v7
with:
name: lint-report-${{ github.run_number }}
path: app/build/reports/lint-results-debug.html
retention-days: 7
- name: Upload Debug APK
uses: actions/upload-artifact@v7
with:
name: debug-apk-${{ github.run_number }}
path: app/build/outputs/apk/debug/*.apk
retention-days: 7