From 5277c7154fad2570898e644034ddc791acc8670a Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Wed, 12 Jul 2023 14:47:37 +0100 Subject: [PATCH] Require Swift 5.7 --- .github/workflows/ci.yml | 3 ++- Package.swift | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebd291af1..e7fac3cb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,14 @@ on: push: branches: - main + - 2.x.x paths: - '**.swift' - '**.yml' pull_request: branches: - main + - 2.x.x paths: - '**.swift' - '**.yml' @@ -39,7 +41,6 @@ jobs: strategy: matrix: image: - - 'swift:5.6' - 'swift:5.7' - 'swift:5.8' diff --git a/Package.swift b/Package.swift index a229e12d6..b9aee284a 100644 --- a/Package.swift +++ b/Package.swift @@ -1,11 +1,11 @@ -// swift-tools-version:5.6 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "hummingbird", - platforms: [.iOS(.v12), .tvOS(.v12)], + platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)], products: [ .library(name: "Hummingbird", targets: ["Hummingbird"]), .library(name: "HummingbirdFoundation", targets: ["HummingbirdFoundation"]),