chore: Bump version to 1.1.3 (53) #386
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: Build and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: macos-26 | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Install Dependencies | |
| run: brew bundle --file Brewfile-ci | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - run: bundle exec fastlane build_ci | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
| MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | |
| LICENSE_PLIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Logs | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: build-logs | |
| path: | | |
| raw-build-ios.log | |
| retention-days: 1 | |
| - name: Run CI Diagnostics | |
| if: failure() | |
| run: ./Scripts/ci-diagnostics.sh | |
| build-test: | |
| name: Test | |
| runs-on: macos-26 | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Install Dependencies | |
| run: brew bundle --file Brewfile-ci | |
| - name: Test | |
| run: make test-ios SIMULATOR_OS=26.1 "DEVICE_NAME=iPhone 17 Pro" | |
| env: | |
| LICENSE_PLIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Logs | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: test-logs | |
| path: | | |
| raw-test-ios.log | |
| retention-days: 1 | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: test-results | |
| path: | | |
| ~/Library/Developer/Xcode/DerivedData/**/Logs/Test/*.xcresult | |
| retention-days: 7 | |
| - name: Run CI Diagnostics | |
| if: failure() | |
| run: ./Scripts/ci-diagnostics.sh | |
| build-test-ui: | |
| name: Test UI | |
| runs-on: macos-26 | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Install Dependencies | |
| run: brew bundle --file Brewfile-ci | |
| - name: Test UI | |
| run: make test-ui-ios SIMULATOR_OS=26.1 "DEVICE_NAME=iPhone 17 Pro" | |
| env: | |
| LICENSE_PLIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Logs | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: ui-test-logs | |
| path: | | |
| raw-test-ui-ios.log | |
| retention-days: 1 | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: ui-test-results | |
| path: | | |
| ~/Library/Developer/Xcode/DerivedData/**/Logs/Test/*.xcresult | |
| retention-days: 7 | |
| - name: Run CI Diagnostics | |
| if: failure() | |
| run: ./Scripts/ci-diagnostics.sh | |
| screenshots: | |
| name: Screenshots | |
| runs-on: macos-26 | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Install Dependencies | |
| run: brew bundle --file Brewfile-ci | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Capture and Upload Screenshots | |
| run: bundle exec fastlane generate_and_upload_screenshots_ci | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| LICENSE_PLIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Simulator boot is slow on hosted runners. Without this, snapshot | |
| # runs `simctl status_bar override` with a 0s wait (see bug in | |
| # fastlane's simulator_launcher_base.rb:129 — `nil.to_i || 10` is 0, | |
| # not 10) and the override silently no-ops against a not-yet-booted | |
| # simulator, so the real clock time leaks into the screenshots. | |
| SNAPSHOT_SIMULATOR_WAIT_FOR_BOOT_TIMEOUT: "30" | |
| - name: Upload Screenshots | |
| uses: actions/upload-artifact@v7 | |
| if: always() | |
| with: | |
| name: screenshots | |
| path: fastlane/screenshots/ | |
| retention-days: 7 | |
| - name: Run CI Diagnostics | |
| if: failure() | |
| run: ./Scripts/ci-diagnostics.sh |