From d06ee2d328a52cf6acc0ae8c8c8e7fad2517bbae Mon Sep 17 00:00:00 2001 From: Ian Leitch Date: Sat, 15 Jun 2024 16:08:20 +0200 Subject: [PATCH] Remove support for Swift 5.8 --- .github/workflows/test.yml | 9 ++------- CHANGELOG.md | 2 +- Package.swift | 2 +- Sources/PeripheryKit/SwiftVersion.swift | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e8cccc70..7b92bd10b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,14 +15,12 @@ jobs: strategy: fail-fast: false matrix: - xcode: ["15.4", "15.2", "14.3.1"] + xcode: ["15.4", "15.2"] include: - xcode: "15.4" macos: macOS-14 - xcode: "15.2" macos: macOS-14 - - xcode: "14.3.1" - macos: macOS-14 runs-on: ${{ matrix.macos }} name: macOS steps: @@ -57,7 +55,7 @@ jobs: strategy: fail-fast: false matrix: - swift: ["5.10", "5.9", "5.8"] + swift: ["5.10", "5.9"] include: - swift: "5.10" container: "swift:5.10" @@ -65,9 +63,6 @@ jobs: - swift: "5.9" container: "swift:5.9" cache-version: 1 - - swift: "5.8" - container: "swift:5.8" - cache-version: 1 runs-on: ubuntu-20.04 container: ${{ matrix.container }} name: Linux diff --git a/CHANGELOG.md b/CHANGELOG.md index dba87adcf..fdeacaf94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ##### Breaking -- None. +- Removed support for Swift 5.8/Xcode 14.3. ##### Enhancements diff --git a/Package.swift b/Package.swift index ae1d4ab6e..40c8e7ed8 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.8 +// swift-tools-version:5.9 import PackageDescription var dependencies: [Package.Dependency] = [ diff --git a/Sources/PeripheryKit/SwiftVersion.swift b/Sources/PeripheryKit/SwiftVersion.swift index 0581847d1..1823c5f85 100644 --- a/Sources/PeripheryKit/SwiftVersion.swift +++ b/Sources/PeripheryKit/SwiftVersion.swift @@ -4,7 +4,7 @@ import Shared public struct SwiftVersion { public static let current = SwiftVersion() - static let minimumVersion = "5.8" + static let minimumVersion = "5.9" public let version: VersionString public let fullVersion: String