Skip to content

Commit 955b546

Browse files
committed
Trying to get GitHub to work
1 parent fe92d8b commit 955b546

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

.github/workflows/iOS.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,18 @@ jobs:
99
runs-on: macOS-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- name: Set up Swift
13+
uses: fwal/setup-swift@v1
14+
with:
15+
swift-version: '6.0'
16+
17+
- name: Swift version
18+
run: swift --version
19+
- uses: actions/checkout@v3
20+
1321
- name: Build
1422
run: swift build
23+
1524
- name: Run iOS tests
1625
run: xcodebuild build test -destination 'name=iPhone 11' -scheme 'RectangleTools-Package'
1726

.github/workflows/macOS.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,18 @@ jobs:
99
runs-on: macOS-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- name: Set up Swift
13+
uses: fwal/setup-swift@v1
14+
with:
15+
swift-version: '6.0'
16+
17+
- name: Swift version
18+
run: swift --version
19+
20+
- uses: actions/checkout@v3
21+
1322
- name: Build
1423
run: swift build -v
24+
1525
- name: Run tests
1626
run: swift test -v

.github/workflows/watchOS.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ jobs:
99
runs-on: macOS-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- name: Swift version
13+
run: swift --version
14+
15+
- uses: actions/checkout@v3
16+
1317
- name: Build
1418
run: swift build
19+
1520
- name: Run watchOS tests
1621
run: xcodebuild build test -destination 'name=Apple Watch Ultra 2 (49mm)' -scheme 'RectangleTools-Package'
1722

0 commit comments

Comments
 (0)