fix: Fix Swift File Support #406
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: "Build and Test" | |
on: | |
pull_request: | |
push: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
js-tests: | |
name: "JS Tests" | |
runs-on: macOS-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@master | |
- uses: c-hive/gha-yarn-cache@v2 | |
- name: "Install node modules" | |
run: | | |
yarn install | |
- name: "Run test" | |
run: | | |
yarn test | |
android-unit-tests: | |
name: "Android Unit Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Run Android Unit Tests" | |
working-directory: android | |
run: ./gradlew test | |
android-lint: | |
name: "Android Unit Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Run Android Unit Tests" | |
working-directory: android | |
run: ./gradlew lint | |
android-kotlin-lint: | |
name: "Android Unit Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Run Android Unit Tests" | |
working-directory: android | |
run: ./gradlew ktlintCheck | |
automerge-dependabot: | |
name: "Save PR Number for Dependabot Automerge" | |
needs: [ js-tests, android-unit-tests, android-lint, android-kotlin-lint ] | |
uses: mParticle/mparticle-workflows/.github/workflows/dependabot-save-pr-number.yml@main |