-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (48 loc) · 1.36 KB
/
validations.yaml
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
58
59
60
61
62
name: Validations
on:
push:
branches:
- main
pull_request:
env:
XCODE_VERSION: 16.1
TUIST_TEST_DEVICE: iPad (10th generation)
TUIST_TEST_PLATFORM: iOS
TUIST_TEST_OS: 17.2
jobs:
development-tests:
runs-on: macos-latest
strategy:
matrix:
scheme:
- UnitTests
# SnapshotTests
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Install dependencies
run: tuist install --path Samples
- name: Test iOS
run: tuist test --path Samples ${{ matrix.scheme }}
samples:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Install dependencies
run: tuist install --path Samples
- name: Tutorial App
run: tuist build --path Samples Samples
swiftformat:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8
- name: Run swiftformat
run: swiftformat --lint .