fix: reject if initialize is called more than once #23
Workflow file for this run
This file contains 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: 📱 Validate Android | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/verify-android.yml' | |
- 'android/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/verify-android.yml' | |
- 'android/**' | |
jobs: | |
java-lint: | |
runs-on: ubuntu-latest | |
name: 🔎 Java Lint | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run Java Lint | |
run: yarn lint-java | |
android-build: | |
runs-on: ubuntu-latest | |
name: 🏗️ Android Build | |
defaults: | |
run: | |
working-directory: ./android | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'microsoft' | |
java-version: '11' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --cwd .. | |
- name: Run Gradle Lint | |
run: ./gradlew assembleDebug |