Skip to content

Commit d690eea

Browse files
author
Alexey Alter-Pesotskiy
committed
[CIS-2313] Replace xcversion with xcodes
1 parent 8f9e99b commit d690eea

File tree

7 files changed

+22
-19
lines changed

7 files changed

+22
-19
lines changed

.github/actions/bootstrap/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ runs:
55
steps:
66
- run: echo "IMAGE=${ImageOS}-${ImageVersion}" >> $GITHUB_ENV
77
shell: bash
8+
- run: echo "$HOME/.mint/bin" >> $GITHUB_PATH
9+
shell: bash
810
- name: Cache RubyGems
911
uses: actions/cache@v3
1012
id: rubygem-cache

.github/workflows/cron-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
INSTALL_XCPARSE: true
3131
- name: Setup iOS ${{ matrix.ios }} Runtime
3232
if: ${{ matrix.ios != 'latest' }}
33-
run: xcversion simulators --install='iOS ${{ matrix.ios }}'
33+
run: sudo xcodes runtimes install 'iOS ${{ matrix.ios }}'
3434
- name: Launch Allure TestOps
3535
run: bundle exec fastlane allure_launch cron:true
3636
- name: Run UI Tests (Debug)
@@ -69,7 +69,7 @@ jobs:
6969
name: Build Demo App
7070
strategy:
7171
matrix:
72-
xcode: [13.1, 13.4.1, 14.1]
72+
xcode: [13.1, 13.4.1, 14.2]
7373
os: [macos-12]
7474
fail-fast: false
7575
runs-on: ${{ matrix.os }}

.github/workflows/smoke-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121

2222
env:
2323
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
24-
IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (16.1)"
24+
IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (16.2)"
2525

2626
jobs:
2727
automated-code-review:

Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ GEM
1818
ast (2.4.2)
1919
atomos (0.1.3)
2020
aws-eventstream (1.2.0)
21-
aws-partitions (1.657.0)
22-
aws-sdk-core (3.166.0)
21+
aws-partitions (1.683.0)
22+
aws-sdk-core (3.168.4)
2323
aws-eventstream (~> 1, >= 1.0.2)
2424
aws-partitions (~> 1, >= 1.651.0)
2525
aws-sigv4 (~> 1.5)
2626
jmespath (~> 1, >= 1.6.1)
27-
aws-sdk-kms (1.59.0)
27+
aws-sdk-kms (1.61.0)
2828
aws-sdk-core (~> 3, >= 3.165.0)
2929
aws-sigv4 (~> 1.1)
30-
aws-sdk-s3 (1.117.1)
30+
aws-sdk-s3 (1.117.2)
3131
aws-sdk-core (~> 3, >= 3.165.0)
3232
aws-sdk-kms (~> 1)
3333
aws-sigv4 (~> 1.4)
@@ -112,7 +112,7 @@ GEM
112112
escape (0.0.4)
113113
ethon (0.16.0)
114114
ffi (>= 1.15.0)
115-
excon (0.93.1)
115+
excon (0.95.0)
116116
faraday (1.10.2)
117117
faraday-em_http (~> 1.0)
118118
faraday-em_synchrony (~> 1.0)
@@ -144,7 +144,7 @@ GEM
144144
faraday_middleware (1.2.0)
145145
faraday (~> 1.0)
146146
fastimage (2.2.6)
147-
fastlane (2.210.1)
147+
fastlane (2.211.0)
148148
CFPropertyList (>= 2.3, < 4.0.0)
149149
addressable (>= 2.8, < 3.0.0)
150150
artifactory (~> 3.0)
@@ -200,9 +200,9 @@ GEM
200200
git (1.12.0)
201201
addressable (~> 2.8)
202202
rchardet (~> 1.8)
203-
google-apis-androidpublisher_v3 (0.31.0)
203+
google-apis-androidpublisher_v3 (0.32.0)
204204
google-apis-core (>= 0.9.1, < 2.a)
205-
google-apis-core (0.9.1)
205+
google-apis-core (0.9.2)
206206
addressable (~> 2.5, >= 2.5.1)
207207
googleauth (>= 0.16.2, < 2.a)
208208
httpclient (>= 2.8.1, < 3.a)
@@ -254,17 +254,17 @@ GEM
254254
sassc (~> 2.1)
255255
sqlite3 (~> 1.3)
256256
xcinvoke (~> 0.3.0)
257-
jmespath (1.6.1)
258-
json (2.6.2)
259-
jwt (2.5.0)
257+
jmespath (1.6.2)
258+
json (2.6.3)
259+
jwt (2.6.0)
260260
kramdown (2.4.0)
261261
rexml
262262
kramdown-parser-gfm (1.1.0)
263263
kramdown (~> 2.0)
264264
liferaft (0.0.6)
265265
memoist (0.16.2)
266266
method_source (1.0.0)
267-
mini_magick (4.11.0)
267+
mini_magick (4.12.0)
268268
mini_mime (1.1.2)
269269
mini_portile2 (2.8.0)
270270
minitest (5.16.3)

Mintfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
nicklockwood/[email protected]
2-
2+
3+
RobotsAndPencils/[email protected]

Scripts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ brew install mint
3131
set -euo pipefail
3232

3333
puts "Bootstrap Mint dependencies"
34-
mint bootstrap
34+
mint bootstrap --link
3535

3636
puts "Create git/hooks folder if needed"
3737
mkdir -p .git/hooks

fastlane/Fastfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ require 'xcodeproj'
77
import 'Sonarfile'
88
import 'Allurefile'
99

10-
xcode_version = ENV['XCODE_VERSION'] || '14.1'
10+
xcode_version = ENV['XCODE_VERSION'] || '14.2'
1111
xcode_project = 'StreamChatSwiftUI.xcodeproj'
1212
github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-chat-swiftui'
1313

1414
before_all do
1515
if is_ci
1616
setup_ci
17-
xcversion(version: "~> #{xcode_version}")
17+
xcodes(version: xcode_version, select_for_current_build_only: true)
1818
ENV['FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT'] = '180'
1919
end
2020
end

0 commit comments

Comments
 (0)