Skip to content

Commit 76681b4

Browse files
committed
Update ios.yml
1 parent 972b8e5 commit 76681b4

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/ios.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
name: iOS Build
22

33
on:
4+
push:
5+
branches: [ "master" ]
46
pull_request:
5-
branches:
6-
- master
7+
branches: [ "master" ]
78

89
jobs:
910
build:
1011
runs-on: macos-latest
11-
1212
steps:
13+
- uses: maxim-lobanov/setup-xcode@v1
14+
with:
15+
xcode-version: '16.1.0'
16+
1317
- name: Checkout repository
1418
uses: actions/checkout@v4
1519

1620
- name: Install Tuist
1721
run: |
18-
mise install tuist
22+
brew tap tuist/tuist
23+
brew install --formula [email protected]
24+
25+
- name: Verify Tuist installation
26+
run: |
27+
tuist --help
1928
2029
- name: Generate Project with Tuist
2130
run: |
2231
tuist install
2332
tuist generate
2433
25-
- name: Select Xcode version
26-
run: sudo xcode-select -switch /Applications/Xcode.app
27-
2834
- name: Build iOS App
2935
run: |
3036
xcodebuild build \
3137
-workspace ModernCleanArchtecture.xcworkspace \
3238
-scheme Example \
3339
-configuration Debug \
34-
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'
40+
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'

Tuist/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.0
22
import PackageDescription
33

44
#if TUIST

0 commit comments

Comments
 (0)