fix: Issue 2115 Handle messages only coming from the main frame to prevent spoofing from child iframes #137
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| newArchEnabled: [false, true] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Install npm dependencies | |
| run: yarn --frozen-lockfile | |
| shell: bash | |
| - name: Build Android test app | |
| uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 #v3.3.2 | |
| with: | |
| gradle-version: wrapper | |
| arguments: -PnewArchEnabled=${{matrix.newArchEnabled}} --no-daemon clean build check test | |
| build-root-directory: example/android | |
| timeout-minutes: 60 |