File tree Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 1111 on_pull_request :
1212 if : github.event_name == 'pull_request'
1313 name : Run tuist
14- runs-on : macos-latest
14+ runs-on : macos-26
1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v5
2929 run : |
3030 bundle cache
3131
32- - name : Set Xcode 26.0. 1
32+ - name : Set Xcode 26.1
3333 run : |
34- sudo xcode-select -s /Applications/Xcode_26.0. 1.app
34+ sudo xcode-select -s /Applications/Xcode_26.1.app
3535
3636 - name : Cache Tuist .build
3737 uses : actions/cache@v4
4141 restore-keys : |
4242 tuist-cache-
4343
44- - name : Run Fastlane Install
44+ - name : Run pull request checks
4545 run : |
46- bundle exec fastlane github_ci
46+ bundle exec fastlane ci_pull_request
4747 env :
4848 CONNECT_API_KEY : ${{ secrets.CONNECT_API_KEY }}
4949 FASTLANE_USER : ${{ secrets.FASTLANE_USER }}
5959 on_developer_push :
6060 if : github.event_name == 'push'
6161 name : Build iOS App
62- runs-on : macos-latest
62+ runs-on : macos-26
6363 steps :
6464 - name : Checkout
6565 uses : actions/checkout@v5
7979 run : |
8080 bundle cache
8181
82- - name : Set Xcode 26.0. 1
82+ - name : Set Xcode 26.1
8383 run : |
84- sudo xcode-select -s /Applications/Xcode_26.0. 1.app
84+ sudo xcode-select -s /Applications/Xcode_26.1.app
8585
8686 - name : Cache Tuist .build
8787 uses : actions/cache@v4
9191 restore-keys : |
9292 tuist-cache-
9393
94- - name : Run Fastlane Install
94+ - name : Run cache warmup
9595 run : |
96- bundle exec fastlane upload_oneoff
96+ bundle exec fastlane ci_cache_warmup
9797 env :
9898 CONNECT_API_KEY : ${{ secrets.CONNECT_API_KEY }}
9999 FASTLANE_USER : ${{ secrets.FASTLANE_USER }}
Original file line number Diff line number Diff line change @@ -111,19 +111,31 @@ platform :ios do
111111 update_build_number ( build_number : options [ :build_number ] )
112112 run_tuist ( testflight : true )
113113 build_ipa
114+ run_tuist ( testflight : false )
114115 end
115116
116- desc "GitHub Actions CI "
117- lane :github_ci do
117+ desc "CI pull requests checks "
118+ lane :ci_pull_request do
118119 setup_ci if ENV [ 'CI' ]
119120 prepare_certificates
120121 update_build_number ( build_number : "1" )
121122 Dir . chdir ( ".." ) do
122123 sh ( "tuist install" )
123124 sh ( "tuist build ForPDA --generate" )
125+ sh ( "tuist inspect build" )
124126 sh ( "tuist test ForPDA" )
125127 sh ( "tuist share ForPDA" )
126- sh ( "tuist inspect build" )
128+ end
129+ end
130+
131+ desc "CI cache warm up"
132+ lane :ci_cache_warmup do
133+ setup_ci if ENV [ 'CI' ]
134+ prepare_certificates
135+ update_build_number ( build_number : "1" )
136+ Dir . chdir ( ".." ) do
137+ sh ( "tuist install" )
138+ sh ( "tuist cache --external-only" )
127139 end
128140 end
129141
You can’t perform that action at this time.
0 commit comments