mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 00:42:41 +08:00
Drop Swift 5.9 (#270)
Motivation: Swift 5.9 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 5.10 * Remove Swift 5.9 jobs where appropriate in main.yml, pull_request.yml Result: Code reflects our support window.
This commit is contained in:
parent
f1f6f77219
commit
0fc472ba34
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -11,7 +11,6 @@ jobs:
|
||||
name: Unit tests
|
||||
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
|
||||
with:
|
||||
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
||||
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
||||
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
||||
linux_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
||||
|
1
.github/workflows/pull_request.yml
vendored
1
.github/workflows/pull_request.yml
vendored
@ -14,7 +14,6 @@ jobs:
|
||||
name: Unit tests
|
||||
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
|
||||
with:
|
||||
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
||||
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
||||
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
||||
linux_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
|
||||
|
@ -1,4 +1,4 @@
|
||||
// swift-tools-version:5.8
|
||||
// swift-tools-version:5.10
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This source file is part of the SwiftNIO open source project
|
||||
|
@ -124,7 +124,7 @@ extension DebugInboundEventsHandler.Event {
|
||||
}
|
||||
|
||||
#if compiler(>=6.0)
|
||||
extension DebugInboundEventsHandler.Event: @retroactive Equatable {}
|
||||
extension DebugInboundEventsHandler.Event: Equatable {}
|
||||
#else
|
||||
extension DebugInboundEventsHandler.Event: Equatable {}
|
||||
#endif
|
||||
|
@ -111,7 +111,7 @@ extension DebugOutboundEventsHandler.Event {
|
||||
}
|
||||
|
||||
#if compiler(>=6.0)
|
||||
extension DebugOutboundEventsHandler.Event: @retroactive Equatable {}
|
||||
extension DebugOutboundEventsHandler.Event: Equatable {}
|
||||
#else
|
||||
extension DebugOutboundEventsHandler.Event: Equatable {}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user