Skip to content

Commit f6973ee

Browse files
authored
Upgrades Xcode runner from 26.0 to 26.2 (#479)
1 parent 1e1a4df commit f6973ee

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/check.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# This step can be removed once the runners’ default version of Xcode is 26 or above
2424
- uses: maxim-lobanov/setup-xcode@v1
2525
with:
26-
xcode-version: 26.0
26+
xcode-version: 26.2
2727

2828
# We use caching for Mint because at the time of writing SwiftLint took about 5 minutes to build in CI, which is unacceptably slow.
2929
# https://github.com/actions/cache/blob/40c3b67b2955d93d83b27ed164edd0756bc24049/examples.md#swift---mint
@@ -50,7 +50,7 @@ jobs:
5050
# This step can be removed once the runners’ default version of Xcode is 16 or above
5151
- uses: maxim-lobanov/setup-xcode@v1
5252
with:
53-
xcode-version: 26.0
53+
xcode-version: 26.2
5454

5555
- name: Spec coverage
5656
run: swift run BuildTool spec-coverage
@@ -69,7 +69,7 @@ jobs:
6969
# This step can be removed once the runners’ default version of Xcode is 16 or above
7070
- uses: maxim-lobanov/setup-xcode@v1
7171
with:
72-
xcode-version: 26.0
72+
xcode-version: 26.2
7373

7474
- id: generation-step
7575
run: swift run BuildTool generate-matrices >> $GITHUB_OUTPUT
@@ -151,7 +151,7 @@ jobs:
151151
# # This step can be removed once the runners’ default version of Xcode is 16 or above
152152
# - uses: maxim-lobanov/setup-xcode@v1
153153
# with:
154-
# xcode-version: 26.0
154+
# xcode-version: 26.2
155155
#
156156
# - run: swift run BuildTool generate-code-coverage --result-bundle-path CodeCoverage.xcresult
157157
#
@@ -228,7 +228,7 @@ jobs:
228228
# This step can be removed once the runners’ default version of Xcode is 16 or above
229229
- uses: maxim-lobanov/setup-xcode@v1
230230
with:
231-
xcode-version: 26.0
231+
xcode-version: 26.2
232232

233233
# Dry run upload-action to get base-path url
234234
- name: Dry-Run Upload (to get url)

Sources/BuildTool/BuildTool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ struct GenerateMatrices: ParsableCommand {
134134
)
135135

136136
mutating func run() throws {
137-
let tooling = ["26.0"].map { xcodeVersion in
137+
let tooling = ["26.2"].map { xcodeVersion in
138138
[
139139
"xcodeVersion": xcodeVersion,
140140
]

Sources/BuildTool/Platform.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ enum Platform: String, CaseIterable {
1111
case .macOS:
1212
.fixed(platform: "macOS")
1313
case .iOS:
14-
.lookup(destinationPredicate: .init(runtime: "iOS-26-0", deviceType: "iPhone-17"))
14+
.lookup(destinationPredicate: .init(runtime: "iOS-26-2", deviceType: "iPhone-17-Pro"))
1515
case .tvOS:
16-
.lookup(destinationPredicate: .init(runtime: "tvOS-26-0", deviceType: "Apple-TV-4K-3rd-generation-4K"))
16+
.lookup(destinationPredicate: .init(runtime: "tvOS-26-2", deviceType: "Apple-TV-4K-3rd-generation-4K"))
1717
}
1818
}
1919

0 commit comments

Comments
 (0)