From f66ddded9a330454856f5ba272cccc9e0c995b17 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Thu, 13 Apr 2023 20:00:48 -0500 Subject: [PATCH] Update min Swift version to 5.6 and make platform versions consistent (#103) Update minimum Swift version to 5.6 and make platform versions consistent. --- .github/workflows/test.yml | 5 ++++- Package.swift | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a76d24..4f5590d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,7 @@ name: test +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true on: pull_request: { branches: ['*'] } push: { branches: [ main ] } @@ -20,7 +23,7 @@ jobs: dependents-check: if: github.event_name == 'pull_request' runs-on: ubuntu-latest - container: swift:5.7-jammy + container: swift:5.8-jammy steps: - name: Check out package uses: actions/checkout@v3 diff --git a/Package.swift b/Package.swift index 7242b84..0ebb906 100644 --- a/Package.swift +++ b/Package.swift @@ -1,11 +1,13 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.6 import PackageDescription let package = Package( name: "sqlite-kit", platforms: [ .macOS(.v10_15), - .iOS(.v13) + .iOS(.v13), + .watchOS(.v6), + .tvOS(.v13), ], products: [ .library(name: "SQLiteKit", targets: ["SQLiteKit"]),