Skip to content

Commit 6bbff16

Browse files
committed
Bump xcode version, drop < swift 6.0
1 parent 1a70b57 commit 6bbff16

File tree

4 files changed

+24
-28
lines changed

4 files changed

+24
-28
lines changed

.github/workflows/ci-swiftpm.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ on:
1111
- "*"
1212

1313
jobs:
14-
swiftpm_darwin_ventura:
14+
swiftpm_darwin_sonoma:
1515
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
16-
runs-on: macos-13
16+
runs-on: macos-14
1717
strategy:
1818
matrix:
19-
xcode: ["14.3.1"]
19+
xcode: ["15.3", "16.1"]
2020
env:
2121
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
2222
steps:
2323
- uses: actions/checkout@v4
2424
- run: ./test swiftpm
2525

26-
swiftpm_darwin_sonoma:
26+
swiftpm_darwin_sequoia:
2727
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
28-
runs-on: macos-14
28+
runs-on: macos-15
2929
strategy:
3030
matrix:
31-
xcode: ["15.3", "16.1"]
31+
xcode: ["16.3"]
3232
env:
3333
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
3434
steps:
@@ -41,10 +41,9 @@ jobs:
4141
strategy:
4242
matrix:
4343
container:
44-
- swift:5.7
45-
- swift:5.8
46-
- swift:5.9
4744
- swift:6.0
45+
- swift:6.1
46+
- swift:6.2
4847
# - swiftlang/swift:nightly
4948
fail-fast: false
5049
container: ${{ matrix.container }}
@@ -61,7 +60,7 @@ jobs:
6160
- name: Install Swift
6261
uses: compnerd/gha-setup-swift@main
6362
with:
64-
branch: swift-5.9-release
65-
tag: 5.9-RELEASE
63+
branch: swift-6.2-release
64+
tag: 6.2-RELEASE
6665
- name: Test Windows
6766
run: swift test -Xswiftc -suppress-warnings

.github/workflows/ci-xcode.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ on:
1111
- "*"
1212

1313
jobs:
14-
xcode_ventura:
14+
xcode_sonoma:
1515
name: Xcode ${{ matrix.xcode }} (Xcode Project)
16-
runs-on: macos-13
16+
runs-on: macos-14
1717
strategy:
1818
matrix:
19-
xcode: ["14.3.1"]
19+
xcode: ["15.4", "16.1"]
2020
fail-fast: false
2121
env:
2222
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
@@ -27,12 +27,12 @@ jobs:
2727
- run: ./test tvos
2828
- run: ./test watchos
2929

30-
xcode_sonoma:
30+
xcode_sequoia:
3131
name: Xcode ${{ matrix.xcode }} (Xcode Project)
32-
runs-on: macos-14
32+
runs-on: macos-15
3333
strategy:
3434
matrix:
35-
xcode: ["15.4", "16.1"]
35+
xcode: ["16.3"]
3636
fail-fast: false
3737
env:
3838
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
@@ -45,10 +45,10 @@ jobs:
4545

4646
xcode_spm:
4747
name: Xcode ${{ matrix.xcode }} (Swift Package)
48-
runs-on: macos-14
48+
runs-on: macos-15
4949
strategy:
5050
matrix:
51-
xcode: ["16.1"]
51+
xcode: ["16.3"]
5252
fail-fast: false
5353
env:
5454
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"

Package.swift

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:6.0
22
import PackageDescription
33

44
let package = Package(
55
name: "Nimble",
66
platforms: [
7-
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)
7+
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1)
88
],
99
products: [
1010
.library(
@@ -19,7 +19,7 @@ let package = Package(
1919
),
2020
],
2121
dependencies: [
22-
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", .upToNextMajor(from: "2.1.0")),
22+
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", .upToNextMajor(from: "2.2.0")),
2323
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
2424
],
2525
targets: {
@@ -32,14 +32,11 @@ let package = Package(
3232
name: "Nimble",
3333
dependencies: [
3434
.product(name: "CwlPreconditionTesting", package: "CwlPreconditionTesting",
35-
condition: .when(platforms: [.macOS, .iOS, .macCatalyst])),
35+
condition: .when(platforms: [.macOS, .iOS, .macCatalyst, .visionOS])),
3636
.product(name: "CwlPosixPreconditionTesting", package: "CwlPreconditionTesting",
3737
condition: .when(platforms: [.tvOS, .watchOS]))
3838
],
39-
exclude: ["Info.plist"],
40-
resources: [
41-
.copy("PrivacyInfo.xcprivacy")
42-
]
39+
exclude: ["Info.plist"]
4340
),
4441
.target(
4542
name: "NimbleSharedTestHelpers",

Sources/Nimble/Utils/AsyncAwait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ internal func performBlock(
150150
#endif
151151
#endif
152152

153-
return await withTaskGroup { taskGroup in
153+
return await withTaskGroup(of: Void.self) { taskGroup in
154154
let blocker = BlockingTask(sourceLocation: sourceLocation)
155155
let tracker = ResultTracker<Void>()
156156

0 commit comments

Comments
 (0)