Skip to content

Commit fcc05fc

Browse files
committed
use Spin setup action to install canary in CI
1 parent b271d30 commit fcc05fc

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ jobs:
1414
- uses: actions/checkout@v4
1515

1616
- name: Install Spin
17-
# TODO: Switch to Spin 4.0 when it's available
18-
run: |
19-
curl -OL https://github.com/spinframework/spin/releases/download/canary/spin-canary-linux-amd64.tar.gz
20-
tar xf spin-canary-linux-amd64.tar.gz
21-
pwd >> $GITHUB_PATH
22-
# uses: fermyon/actions/spin/setup@v1
23-
# with:
24-
# version: "v4.0.0"
17+
uses: fermyon/actions/spin/setup@v1
18+
with:
19+
# TODO: Switch to Spin 4.0 when it's available
20+
version: "canary"
2521

2622
- name: Build examples and run tests
2723
run: |

0 commit comments

Comments
 (0)