chore: update time dep in Cargo.lock #3021
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
| # SPDX-FileCopyrightText: 2024 Phoenix R&D GmbH <hello@phnx.im> | |
| # | |
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| name: Build iOS app | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| merge_group: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| ios-build: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| # Fetch all commit metadata (build number is derived from number of commits) | |
| fetch-depth: 0 | |
| # Don't download historical file contents (blobs) | |
| filter: blob:none | |
| - run: git lfs install && git lfs pull | |
| - name: Set up Just | |
| uses: extractions/setup-just@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| - name: Set up Flutter FVM | |
| uses: kuhnroyal/flutter-fvm-config-action/setup@v3 | |
| with: | |
| path: "app/.fvmrc" | |
| cache: false | |
| - name: Set up Rust toolchain | |
| uses: dtolnay/rust-toolchain@1.92.0 | |
| - name: Set up iOS CI | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: just setup-ios-ci | |
| - name: Test flutter | |
| run: just test-flutter | |
| - name: Upload golden failures | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: golden-failures | |
| path: app/test/**/failures/* | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 26.1.1 | |
| - name: Detect if PR is from a fork | |
| id: detect_fork | |
| shell: bash | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| if [ "${{ github.event.pull_request.head.repo.full_name }}" = "${{ github.repository }}" ]; then | |
| echo "is_fork=false" >> $GITHUB_OUTPUT | |
| else | |
| echo "is_fork=true" >> $GITHUB_OUTPUT | |
| fi | |
| else | |
| echo "is_fork=false" >> $GITHUB_OUTPUT | |
| fi | |
| - name: Build iOS app | |
| if: ${{ steps.detect_fork.outputs.is_fork == 'true' || github.actor == 'dependabot[bot]' }} | |
| run: | | |
| cd app && fastlane ios build_ios | |
| - name: Build and sign iOS app | |
| if: ${{ steps.detect_fork.outputs.is_fork == 'false' && github.actor != 'dependabot[bot]' }} | |
| env: | |
| APP_STORE_KEY_ID: ${{ secrets.APP_STORE_KEY_ID }} | |
| APP_STORE_ISSUER_ID: ${{ secrets.APP_STORE_ISSUER_ID }} | |
| APP_STORE_KEY_P8_BASE64: ${{ secrets.APP_STORE_KEY_P8_BASE64 }} | |
| APPLE_ID: ${{ secrets.APPLE_ID }} | |
| TEAM_ID: ${{ secrets.TEAM_ID }} | |
| MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
| MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }} | |
| MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} | |
| run: | | |
| cd app && fastlane ios beta_ios --verbose | |
| - name: Upload build logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-logs | |
| path: ~/Library/Logs/gym/Runner-Runner.log |