-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (35 loc) · 1 KB
/
pull_request_test.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
name: PullRequestTest
on:
pull_request:
branches:
- release
jobs:
build_test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "15.2.0"
- name: Bring ignored files
uses: actions/checkout@v3
with:
repository: Pepsi-Club/WhereMyBus-ignored
path: XCConfig/
token: ${{ secrets.ACTION_TOKEN }}
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "5.8.0"
- name: Get swift version
run: swift --version
- name: Install Tuist
run: curl -Ls https://install.tuist.io|bash
- name: Install SwiftLint
run: brew install swiftlint
- name: Tuist Clean
run: tuist clean
- name: Tuist Fetch
run: tuist fetch
- name: Tuist Build Test
run: tuist build