Skip to content

Commit f9d45f1

Browse files
simonjbeaumontrnro
andauthored
Bump minimum Swift version to 6.0, drop 5.10 CI (#80)
### Motivation _[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]_ ### Modifications _[Describe the modifications you've made.]_ ### Result _[After your change, what will change.]_ ### Test Plan _[Describe the steps you took, or will take, to qualify the change - such as adjusting tests and manual testing.]_ --------- Co-authored-by: Rick Newton-Rogers <[email protected]>
1 parent 279aa6b commit f9d45f1

File tree

7 files changed

+258
-174
lines changed

7 files changed

+258
-174
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
# Disable strict concurrency checking as it intersects badly with
1515
# warnings-as-errors on 5.10 and later as SwiftPMs generated test manifest
1616
# has a non-sendable global property.
17-
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
1817
# TODO: Enable warnings-as-errors on 6.0.
1918
linux_6_0_arguments_override: "-Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error"
2019
linux_6_1_arguments_override: "-Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error"

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
# Disable strict concurrency checking as it intersects badly with
1919
# warnings-as-errors on 5.10 and later as SwiftPMs generated test manifest
2020
# has a non-sendable global property.
21-
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
2221
# TODO: Enable warnings-as-errors on 6.0.
2322
linux_6_0_arguments_override: "-Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error"
2423
linux_6_1_arguments_override: "-Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error"

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.10
1+
// swift-tools-version:6.0
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the SwiftOpenAPIGenerator open source project

Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ import DequeModule
130130
///
131131
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
132132
@usableFromInline
133-
internal struct BufferedStream<Element> {
133+
internal struct BufferedStream<Element: Sendable> {
134134
@usableFromInline
135135
final class _Backing: Sendable {
136136
@usableFromInline

0 commit comments

Comments
 (0)