Skip to content

Commit 0918fc1

Browse files
committed
Drop Swift 5.10
Motivation: Swift 5.10 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 6.0 * Remove Swift 5.10 jobs where appropriate in main.yml, pull_request.yml Result: Code reflects our support window.
1 parent 279aa6b commit 0918fc1

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
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

0 commit comments

Comments
 (0)