Repository navigation
Refactor and fix private key reminder screen #6414
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"] | |
| paths: | |
| - "android/**" | |
| - "core/**" | |
| - "rust-toolchain.toml" | |
| - "localization/**" | |
| - ".gitmodules" | |
| - ".github/actions/**" | |
| - ".github/workflows/android-ci.yml" | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "android/**" | |
| - "core/**" | |
| - "rust-toolchain.toml" | |
| - "localization/**" | |
| - ".gitmodules" | |
| - ".github/actions/**" | |
| - ".github/workflows/android-ci.yml" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| SCCACHE_GHA_ENABLED: "true" | |
| RUSTC_WRAPPER: "sccache" | |
| jobs: | |
| unit_test: | |
| runs-on: ubuntu-latest | |
| env: | |
| UNIT_TESTS: "true" | |
| defaults: | |
| run: | |
| working-directory: android | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| submodules: recursive | |
| - name: Setup Android CI | |
| uses: ./.github/actions/setup-android-ci | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0 | |
| - name: Install Android toolchains | |
| run: | | |
| just install-toolchains | |
| just install-ndk | |
| - name: Build app and run unit and integration tests | |
| run: just test-all |