From 2bc4abac624919c93e21595906447c405946ac0c Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 29 Apr 2025 13:34:12 +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 - Benchmarks/Package.swift | 2 +- .../5.9/MemcacheBenchmarks.Decrement_Request.p90.json | 3 --- .../Thresholds/5.9/MemcacheBenchmarks.Delete_Request.p90.json | 3 --- .../5.9/MemcacheBenchmarks.Increment_Request.p90.json | 3 --- .../Thresholds/5.9/MemcacheBenchmarks.Set_Request.p90.json | 3 --- .../5.9/MemcacheBenchmarks.Set_with_TTL_Request.p90.json | 3 --- Package.swift | 2 +- 9 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Decrement_Request.p90.json delete mode 100644 Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Delete_Request.p90.json delete mode 100644 Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Increment_Request.p90.json delete mode 100644 Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_Request.p90.json delete mode 100644 Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_with_TTL_Request.p90.json diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 734431d..e1f4b84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,6 @@ jobs: name: Unit tests uses: ./.github/workflows/unit_tests.yml with: - linux_5_9_arguments_override: "--explicit-target-dependency-import-check error" linux_5_10_arguments_override: "--explicit-target-dependency-import-check error" linux_6_0_arguments_override: "--explicit-target-dependency-import-check error" linux_6_1_arguments_override: "--explicit-target-dependency-import-check error" diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f8cd56a..0abcaf0 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,7 +15,6 @@ jobs: name: Unit tests uses: ./.github/workflows/unit_tests.yml with: - linux_5_9_arguments_override: "--explicit-target-dependency-import-check error" linux_5_10_arguments_override: "--explicit-target-dependency-import-check error" linux_6_0_arguments_override: "--explicit-target-dependency-import-check error" linux_6_1_arguments_override: "--explicit-target-dependency-import-check error" diff --git a/Benchmarks/Package.swift b/Benchmarks/Package.swift index 20ba4f8..3c49bcc 100644 --- a/Benchmarks/Package.swift +++ b/Benchmarks/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.9 +// swift-tools-version:5.10 //===----------------------------------------------------------------------===// // // This source file is part of the SwiftCertificates open source project diff --git a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Decrement_Request.p90.json b/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Decrement_Request.p90.json deleted file mode 100644 index 8bf0410..0000000 --- a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Decrement_Request.p90.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "mallocCountTotal" : 506 -} \ No newline at end of file diff --git a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Delete_Request.p90.json b/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Delete_Request.p90.json deleted file mode 100644 index 8bf0410..0000000 --- a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Delete_Request.p90.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "mallocCountTotal" : 506 -} \ No newline at end of file diff --git a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Increment_Request.p90.json b/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Increment_Request.p90.json deleted file mode 100644 index a27ca15..0000000 --- a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Increment_Request.p90.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "mallocCountTotal" : 507 -} \ No newline at end of file diff --git a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_Request.p90.json b/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_Request.p90.json deleted file mode 100644 index 54fd8e4..0000000 --- a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_Request.p90.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "mallocCountTotal" : 578 -} \ No newline at end of file diff --git a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_with_TTL_Request.p90.json b/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_with_TTL_Request.p90.json deleted file mode 100644 index 54fd8e4..0000000 --- a/Benchmarks/Thresholds/5.9/MemcacheBenchmarks.Set_with_TTL_Request.p90.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "mallocCountTotal" : 578 -} \ No newline at end of file diff --git a/Package.swift b/Package.swift index 7de36fe..4c23692 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 swift-memcache-gsoc open source project