File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
actions/spin-ci-dependencies Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ inputs:
68
68
type : bool
69
69
tinygo-version :
70
70
description : ' tinygo version to setup'
71
- default : ' v0.27 .0'
71
+ default : ' v0.35 .0'
72
72
required : false
73
73
type : string
74
74
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ jobs:
203
203
go-version : ' 1.20.1'
204
204
- uses : acifani/setup-tinygo@v2
205
205
with :
206
- tinygo-version : ' 0.27 .0'
206
+ tinygo-version : ' 0.35 .0'
207
207
- uses : actions/setup-node@v3
208
208
with :
209
209
node-version : ' 20.x'
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ component = "{{project-name | kebab_case}}"
14
14
source = " main.wasm"
15
15
allowed_outbound_hosts = []
16
16
[component .{{project-name | kebab_case}} .build ]
17
- command = " tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go "
17
+ command = " tinygo build -target=wasip1 -gc=leaking -scheduler=none -buildmode=c-shared - no-debug -o main.wasm . "
18
18
watch = [" **/*.go" , " go.mod" ]
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ component = "{{project-name | kebab_case}}"
6
6
source = "{{ output-path }}/main.wasm"
7
7
allowed_outbound_hosts = []
8
8
[component.{{project-name | kebab_case}}.build]
9
- command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go "
9
+ command = "tinygo build -target=wasip1 -gc=leaking -scheduler=none -buildmode=c-shared - no-debug -o main.wasm . "
10
10
workdir = "{{ output-path }}"
11
11
watch = ["**/*.go", "go.mod"]
You can’t perform that action at this time.
0 commit comments