From 051550555b907eb9271088975beee909f54488b2 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 29 Apr 2025 13:41:39 +0100 Subject: [PATCH] Drop Swift 5.9 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. --- .github/workflows/main.yml | 1 - .github/workflows/pull_request.yml | 1 - Package.swift | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbed33d..8ee1c7a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 -Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error" # Disable strict concurrency checking as it intersects badly with # warnings-as-errors on 5.10 and later as SwiftPMs generated test manifest # has a non-sendable global property. diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b18fa42..3adcdd3 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,7 +15,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 -Xswiftc -strict-concurrency=complete --explicit-target-dependency-import-check error" # Disable strict concurrency checking as it intersects badly with # warnings-as-errors on 5.10 and later as SwiftPMs generated test manifest # has a non-sendable global property. diff --git a/Package.swift b/Package.swift index 04a0b7c..e89aba6 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.9 +// swift-tools-version:5.10 //===----------------------------------------------------------------------===// // // This source file is part of the SwiftOpenAPIGenerator open source project