Skip to content

Commit 78c680e

Browse files
committed
Update to Swift 6.1
1 parent 68c597f commit 78c680e

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,3 @@ jobs:
1919
xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16"
2020
xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac"
2121
xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)"
22-
23-
buildSwift6:
24-
name: Build and test with Swift 6
25-
runs-on: macos-latest
26-
steps:
27-
- uses: actions/checkout@v4
28-
- name: Set up XCode
29-
uses: maxim-lobanov/setup-xcode@v1
30-
with:
31-
xcode-version: latest-stable
32-
- name: Use Swift 6
33-
run: |
34-
sed -i '' 's|^// swift-tools-version:.*$|// swift-tools-version:6.1|' Package.swift
35-
- name: Build and Test
36-
run: |
37-
swift build -Xswiftc -strict-concurrency=complete
38-
swift test -Xswiftc -strict-concurrency=complete

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.1
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

0 commit comments

Comments
 (0)