-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 875 Bytes
/
actions.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
name: CI
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '*/1440 * * * *'
jobs:
test:
# Job name is Test
name: Test
# This job runs on macOS
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=14.0,name=iPhone 8']
xcode: ['/Applications/Xcode.app/Contents/Developer']
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Dependencies
run: |
sudo gem install cocoapods
pod repo update
env:
DEVELOPER_DIR: ${{ matrix.xcode }}
- name: Build
run: pod lib lint --use-libraries --allow-warnings || pod lib lint --allow-warnings