Skip to content

Commit 1a33db6

Browse files
update Swift 6 test script
1 parent 1ce6e3b commit 1a33db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
xcode-version: latest-stable
3232
- name: Use Swift 6
3333
run: |
34-
sed -i '' 's|// swift-tools-version:[0-9.]*|// swift-tools-version:6.1|' Package.swift
34+
sed -i '' 's|^// swift-tools-version:.*$|// swift-tools-version:6.1|' Package.swift
3535
- name: Build and Test
3636
run: |
3737
swift build -Xswiftc -strict-concurrency=complete

0 commit comments

Comments
 (0)