Skip to content

Commit d877d70

Browse files
Use swiftwasm/setup-swiftwasm instead of swiftenv on CI
1 parent dac9d7b commit d877d70

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ jobs:
3333
uses: actions/checkout@master
3434
with:
3535
fetch-depth: 1
36-
- name: Install swiftenv
37-
run: |
38-
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
39-
export SWIFTENV_ROOT="$HOME/.swiftenv"
40-
export PATH="$SWIFTENV_ROOT/bin:$PATH"
41-
eval "$(swiftenv init -)"
42-
echo $PATH >> $GITHUB_PATH
43-
env >> $GITHUB_ENV
44-
echo ${{ matrix.entry.toolchain }} > .swift-version
36+
- uses: swiftwasm/setup-swiftwasm@v1
37+
with:
38+
swift-version: ${{ matrix.entry.toolchain }}
4539
- run: make bootstrap
4640
- run: make test
4741
- run: make unittest

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MAKEFILE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
22

33
.PHONY: bootstrap
44
bootstrap:
5-
./scripts/install-toolchain.sh
65
npm ci
76

87
.PHONY: build

0 commit comments

Comments
 (0)