Skip to content

Commit

Permalink
ci: Run pod lib lint in parallel (#2255)
Browse files Browse the repository at this point in the history
Pod lib lint runs validations for all platforms sequentially. We can
speed up CI by using a matrix for each platform, so
they run in parallel.
  • Loading branch information
philipphofmann authored Oct 4, 2022
1 parent 6760996 commit 4a257fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
validate-podspec:
name: Validate Podspec
runs-on: macos-12
strategy:
matrix:
platform: ['ios', 'macos', 'tvos', 'watchos']

steps:
- uses: actions/checkout@v3
- run: ./scripts/ci-select-xcode.sh
- name: Validate Podspec
run: pod lib lint --verbose
run: pod lib lint --verbose --platforms=${{ matrix.platform }}
shell: sh

validate-high-risk-files:
Expand Down

0 comments on commit 4a257fb

Please sign in to comment.