Skip to content

Commit 9d4fddd

Browse files
committed
Trying to get GitHub to work
1 parent 46432c5 commit 9d4fddd

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.github/workflows/iOS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: macOS-latest
1010

1111
steps:
12-
- name: Set up Swift
13-
uses: fwal/setup-swift@v1
12+
- name: Set up Swift 6
13+
uses: SwiftyLab/setup-swift@latest
1414
with:
1515
swift-version: '6.0'
1616

.github/workflows/watchOS.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,22 @@ jobs:
99
runs-on: macOS-latest
1010

1111
steps:
12+
- name: Set up Swift 6
13+
uses: SwiftyLab/setup-swift@latest
14+
with:
15+
swift-version: '6.0'
16+
1217
- name: Swift version
1318
run: swift --version
1419

1520
- uses: actions/checkout@v3
1621

1722
- name: Build
1823
run: swift build
19-
24+
25+
- name: What schemes?
26+
run: xcodebuild build test -list
27+
2028
- 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'
2230

Package.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:6.0
1+
// swift-tools-version:5.10
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -28,8 +28,7 @@ let package = Package(
2828
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2929
.target(
3030
name: "RectangleTools",
31-
dependencies: ["MultiplicativeArithmetic"],
32-
swiftSettings: [.swiftLanguageMode(.v5)]),
31+
dependencies: ["MultiplicativeArithmetic"]),
3332
.testTarget(
3433
name: "RectangleToolsTests",
3534
dependencies: ["RectangleTools"]),

0 commit comments

Comments
 (0)