Skip to content

Commit 8ca6bce

Browse files
committed
use setup-swift v3
1 parent 7dfc6a2 commit 8ca6bce

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,9 @@ jobs:
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version: 20
14-
15-
- name: Install Swift via Swiftly
16-
run: |
17-
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
18-
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
19-
~/.swiftly/bin/swiftly init --quiet-shell-followup && \
20-
. "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \
21-
hash -r && \
22-
~/.swiftly/bin/swiftly install 6.2 && \
23-
~/.swiftly/bin/swiftly use 6.2 && \
24-
swift --version
14+
- uses: swift-actions/setup-swift@next
15+
with:
16+
swift-version: 6.2
2517

2618
- name: Install Swift WASM SDK
2719
run: |

0 commit comments

Comments
 (0)