Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
workflow_dispatch:
repository_dispatch:

permissions:
contents: read

concurrency:
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true
Expand All @@ -24,6 +27,8 @@ env:
jobs:
test:
name: Test SDK
permissions:
contents: read
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -61,6 +66,8 @@ jobs:
sources-lint:
name: Lint Source files
needs: test
permissions:
contents: read
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -82,6 +89,8 @@ jobs:
pod-lint:
name: Lint Podspec
needs: test
permissions:
contents: read
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -99,6 +108,8 @@ jobs:
carthage-build:
name: Carthage Build
needs: test
permissions:
contents: read
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down Expand Up @@ -129,6 +140,8 @@ jobs:
swift-package-build:
name: Swift Package Build
needs: test
permissions:
contents: read
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -146,6 +159,10 @@ jobs:
size-report:
name: Cocoapods size report
if: github.event_name == 'pull_request'
permissions:
pull-requests: write
contents: read
issues: write
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -209,6 +226,8 @@ jobs:
samples:
name: Build Samples
needs: test
permissions:
contents: read
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down Expand Up @@ -246,6 +265,8 @@ jobs:
- carthage-build
- swift-package-build
- samples
permissions:
contents: write
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
Loading