feat: add collision behavior support for Advanced Markers #245
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: Pull Request Validation | |
| on: | |
| pull_request: | |
| branches: [dev, main] | |
| concurrency: | |
| group: pr-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| commitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Lint commit messages | |
| run: | | |
| yarn commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
| lint: | |
| runs-on: macos-26 | |
| needs: [commitlint] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Generate nitrogen code | |
| run: yarn nitrogen | |
| - name: Install ktlint & swiftformat | |
| run: | | |
| brew install ktlint | |
| brew install swiftformat | |
| - name: Lint files | |
| run: yarn lint | |
| - name: Typecheck files | |
| run: yarn typecheck | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Run unit tests | |
| run: yarn test --maxWorkers=2 --coverage | |
| docs: | |
| runs-on: ubuntu-latest | |
| needs: [lint] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Generate nitrogen code | |
| run: yarn nitrogen | |
| - name: Build docs | |
| run: yarn docs | |
| build-android: | |
| runs-on: ubuntu-latest | |
| needs: [lint, test, docs] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Generate nitrogen code | |
| run: yarn nitrogen | |
| - name: Install JDK | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Finalize Android SDK | |
| run: | | |
| /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null" | |
| - name: Cache Gradle | |
| uses: actions/cache@v5.0.5 | |
| with: | |
| path: | | |
| ~/.gradle/wrapper | |
| ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Create secrets.properties | |
| run: | | |
| echo MAPS_API_KEY="API_KEY" >> example/android/secrets.properties | |
| - name: Build example for Android | |
| env: | |
| JAVA_OPTS: '-XX:MaxHeapSize=6g' | |
| run: yarn build:android | |
| build-ios: | |
| runs-on: macos-26 | |
| needs: [lint, test, docs] | |
| env: | |
| XCODE_VERSION: '26.2' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Generate nitrogen code | |
| run: yarn nitrogen | |
| - name: Use appropriate Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1.7.0 | |
| with: | |
| xcode-version: ${{ env.XCODE_VERSION }} | |
| - name: Install cocoapods | |
| working-directory: example | |
| run: yarn ios:pods | |
| - name: Create Secrets.xcconfig | |
| run: echo MAPS_API_KEY="API_KEY" >> example/ios/Secrets.xcconfig | |
| - name: Build example for iOS | |
| run: yarn build:ios |