forked from jpsim/Yams
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 926 Bytes
/
pod_lib_lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: pod lib lint
on:
push:
branches: [main]
paths:
- '.github/workflows/pod_lib_lint.yml'
- '*.podspec'
- 'Gemfile*'
- 'Sources/**/*.[ch]'
- 'Sources/**/*.swift'
pull_request:
paths:
- '.github/workflows/pod_lib_lint.yml'
- '*.podspec'
- 'Gemfile*'
- 'Sources/**/*.[ch]'
- 'Sources/**/*.swift'
concurrency:
group: pod-lib-lint-${{ github.ref }}
cancel-in-progress: true
jobs:
pod_lib_lint:
name: pod lib lint
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app
strategy:
matrix:
platform: [macOS, iOS, tvOS, visionOS]
steps:
- uses: actions/checkout@v4
- run: bundle install --path vendor/bundle
- if: matrix.platform == 'visionOS'
run: xcodebuild -downloadPlatform visionOS
- run: bundle exec pod lib lint --platforms=${{ matrix.platform }} --verbose