feat: transfer to spending from hw wallet #4862
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: CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| types: [ opened, synchronize, reopened, ready_for_review ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| TERM: xterm-256color | |
| FORCE_COLOR: 1 | |
| jobs: | |
| build: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Decode google-services.json | |
| run: | | |
| set -euo pipefail | |
| if [ -z "${GOOGLE_SERVICES_JSON_BASE64:-}" ]; then | |
| echo "GOOGLE_SERVICES_JSON_BASE64 is empty; using checked-in placeholder." | |
| exit 0 | |
| fi | |
| mkdir -p app/src/debug | |
| printf '%s' "$GOOGLE_SERVICES_JSON_BASE64" | base64 -d > app/src/debug/google-services.json | |
| env: | |
| GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }} | |
| - name: Build debug app | |
| env: | |
| GITHUB_ACTOR: ${{ github.actor }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CHATWOOT_API: ${{ secrets.CHATWOOT_API }} | |
| run: ./gradlew assembleDevDebug | |
| - name: Run tests | |
| run: ./gradlew testDevDebugUnitTest | |
| - name: Upload test report | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: unit_test_report_${{ github.run_number }} | |
| path: app/build/reports/tests/testDevDebugUnitTest/ | |
| retention-days: 30 |