File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : macOS-latest
10
10
11
11
steps :
12
- - name : Set up Swift
13
- uses : fwal /setup-swift@v1
12
+ - name : Set up Swift 6
13
+ uses : SwiftyLab /setup-swift@latest
14
14
with :
15
15
swift-version : ' 6.0'
16
16
Original file line number Diff line number Diff line change 9
9
runs-on : macOS-latest
10
10
11
11
steps :
12
+ - name : Set up Swift 6
13
+ uses : SwiftyLab/setup-swift@latest
14
+ with :
15
+ swift-version : ' 6.0'
16
+
12
17
- name : Swift version
13
18
run : swift --version
14
19
15
20
- uses : actions/checkout@v3
16
21
17
22
- name : Build
18
23
run : swift build
19
-
24
+
25
+ - name : What schemes?
26
+ run : xcodebuild build test -list
27
+
20
28
- name : Run watchOS tests
21
- run : xcodebuild build test -destination 'name=Apple Watch Ultra 2 (49mm)' -scheme 'RectangleTools-Package '
29
+ run : xcodebuild build test -destination 'name=Apple Watch Ultra 2 (49mm)' -scheme 'RectangleTools'
22
30
Original file line number Diff line number Diff line change 1
- // swift-tools-version:6.0
1
+ // swift-tools-version:5.10
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
@@ -28,8 +28,7 @@ let package = Package(
28
28
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
29
29
. target(
30
30
name: " RectangleTools " ,
31
- dependencies: [ " MultiplicativeArithmetic " ] ,
32
- swiftSettings: [ . swiftLanguageMode( . v5) ] ) ,
31
+ dependencies: [ " MultiplicativeArithmetic " ] ) ,
33
32
. testTarget(
34
33
name: " RectangleToolsTests " ,
35
34
dependencies: [ " RectangleTools " ] ) ,
You can’t perform that action at this time.
0 commit comments