-
Notifications
You must be signed in to change notification settings - Fork 109
57 lines (50 loc) · 1.14 KB
/
ci.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.5'
bundler-cache: true
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
uses: maierj/fastlane-action@v3.1.0
with:
lane: 'lint'
subdirectory: 'fastlane'
test:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.5'
bundler-cache: true
- uses: AckeeCZ/load-xcode-version@v1
- name: Run UI Tests
uses: maierj/fastlane-action@v3.1.0
with:
lane: 'test'
subdirectory: 'fastlane'
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.5'
bundler-cache: true
- uses: AckeeCZ/load-xcode-version@v1
- name: Build
uses: maierj/fastlane-action@v3.1.0
with:
lane: 'build'
subdirectory: 'fastlane'