Skip to content

Commit ac30604

Browse files
committed
fix(ci): bump dependency versions in CI
Signed-off-by: Adam Reese <[email protected]>
1 parent c2d4ef2 commit ac30604

File tree

3 files changed

+31
-24
lines changed

3 files changed

+31
-24
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: '1.20'
19+
go-version: '1.23'
2020

2121
- name: Setup TinyGo
2222
uses: acifani/setup-tinygo@v2
2323
with:
24-
tinygo-version: '0.28.0'
24+
tinygo-version: '0.35.0'
2525

2626
- name: Setup Spin
2727
uses: fermyon/actions/spin/setup@v1
2828
with:
29-
version: "v2.6.0"
29+
version: "v3.1.2"
3030

3131
- name: Setup Wasmtime
3232
uses: bytecodealliance/actions/wasmtime/setup@v1
3333
with:
34-
version: "13.0.1"
34+
version: "28.0.0"
3535

3636
- name: Run unit tests
3737
run: make test
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
spin_version = "1"
1+
spin_manifest_version = 2
2+
3+
[application]
4+
name = "spin-http-tinygo-test"
5+
version = "0.1.0"
26
authors = ["Fermyon Engineering <[email protected]>"]
37
description = "A simple Spin application written in (Tiny)Go."
4-
name = "spin-http-tinygo-test"
5-
trigger = { type = "http" }
6-
version = "1.0.0"
78

8-
[[component]]
9-
id = "http-tinygo-test"
10-
source = "main.wasm"
11-
[component.trigger]
9+
[[trigger.http]]
1210
route = "/hello/..."
13-
[component.build]
14-
command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go"
11+
component = "http-test"
12+
13+
[component.http-test]
14+
source = "main.wasm"
15+
allowed_outbound_hosts = []
16+
[component.http-test.build]
17+
command = "tinygo build -target=wasip1 -gc=leaking -scheduler=none -buildmode=c-shared -no-debug -o main.wasm ."
18+
watch = ["**/*.go", "go.mod"]
Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
spin_version = "1"
1+
spin_manifest_version = 2
2+
3+
[application]
4+
name = "spin-roundtrip-test"
5+
version = "0.1.0"
26
authors = ["Fermyon Engineering <[email protected]>"]
37
description = "A simple Spin application written in (Tiny)Go."
4-
name = "spin-roundtrip-test"
5-
trigger = { type = "http" }
6-
version = "1.0.0"
78

8-
[[component]]
9-
id = "http-roundtrip-test"
9+
[[trigger.http]]
10+
route = "/hello/..."
11+
component = "http-roundtrip-test"
12+
13+
[component.http-roundtrip-test]
1014
source = "main.wasm"
1115
allowed_outbound_hosts = ["https://example.com"]
12-
[component.trigger]
13-
route = "/hello/..."
14-
[component.build]
15-
command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go"
16+
[component.http-roundtrip-test.build]
17+
command = "tinygo build -target=wasip1 -gc=leaking -buildmode=c-shared -no-debug -o main.wasm ."
18+
watch = ["**/*.go", "go.mod"]

0 commit comments

Comments
 (0)