chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 #2683
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: Fast PR Checks | |
| # Description: Runs a subset of checks for PRs to provide faster feedback. | |
| # Tests run here should run within a couple minutes. | |
| # Any job here, should reuse a workflow that is already used in the complete workflows, no new jobs should be added here. | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| files-changed: | |
| name: Detect File Changes | |
| runs-on: ubuntu-latest | |
| outputs: | |
| # Use the same file filters than the complete workflows | |
| run_release_for_prs: ${{ steps.changes.outputs.run_release_for_prs }} | |
| run_unit_tests_for_prs: ${{ steps.changes.outputs.run_unit_tests_for_prs }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Get changed files | |
| id: changes | |
| uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| with: | |
| token: ${{ github.token }} | |
| filters: .github/file-filters.yml | |
| fast-xcframework-slices: | |
| name: Fast XCFramework Slice (Sentry Dynamic, iOS arm64) | |
| if: needs.files-changed.outputs.run_release_for_prs == 'true' | |
| needs: files-changed | |
| uses: ./.github/workflows/build-xcframework-variant-slices.yml | |
| with: | |
| name: Sentry | |
| suffix: -Dynamic | |
| macho-type: mh_dylib | |
| variant-id: sentry-dynamic | |
| sdk-list: '["iphoneos"]' | |
| fast-unit-tests: | |
| name: Fast Unit Tests (iOS 18) | |
| if: needs.files-changed.outputs.run_unit_tests_for_prs == 'true' | |
| needs: files-changed | |
| uses: ./.github/workflows/unit-test-common.yml | |
| secrets: inherit | |
| with: | |
| name: iOS 18 Sentry | |
| runs-on: sequoia | |
| timeout: 20 | |
| should_skip: false | |
| xcode: "16.4" | |
| test-destination-os: "18.5" | |
| platform: iOS | |
| device: iPhone 16 Pro | |
| scheme: Sentry | |
| run_on_cirrus_labs: true | |
| fast-checks-required: | |
| needs: [files-changed, fast-xcframework-slices, fast-unit-tests] | |
| name: Fast PR Checks | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check for failures | |
| if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
| run: | | |
| echo "One of the fast check jobs has failed." && exit 1 |