Skip to content

Commit

Permalink
fix(ci): bump dependency versions in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Reese <[email protected]>
  • Loading branch information
adamreese committed Jan 14, 2025
1 parent c2d4ef2 commit ac30604
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.23'

- name: Setup TinyGo
uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.28.0'
tinygo-version: '0.35.0'

- name: Setup Spin
uses: fermyon/actions/spin/setup@v1
with:
version: "v2.6.0"
version: "v3.1.2"

- name: Setup Wasmtime
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
version: "13.0.1"
version: "28.0.0"

- name: Run unit tests
run: make test
Expand Down
24 changes: 14 additions & 10 deletions http/testdata/http-tinygo/spin.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
spin_version = "1"
spin_manifest_version = 2

[application]
name = "spin-http-tinygo-test"
version = "0.1.0"
authors = ["Fermyon Engineering <[email protected]>"]
description = "A simple Spin application written in (Tiny)Go."
name = "spin-http-tinygo-test"
trigger = { type = "http" }
version = "1.0.0"

[[component]]
id = "http-tinygo-test"
source = "main.wasm"
[component.trigger]
[[trigger.http]]
route = "/hello/..."
[component.build]
command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go"
component = "http-test"

[component.http-test]
source = "main.wasm"
allowed_outbound_hosts = []
[component.http-test.build]
command = "tinygo build -target=wasip1 -gc=leaking -scheduler=none -buildmode=c-shared -no-debug -o main.wasm ."
watch = ["**/*.go", "go.mod"]
23 changes: 13 additions & 10 deletions http/testdata/spin-roundtrip/spin.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
spin_version = "1"
spin_manifest_version = 2

[application]
name = "spin-roundtrip-test"
version = "0.1.0"
authors = ["Fermyon Engineering <[email protected]>"]
description = "A simple Spin application written in (Tiny)Go."
name = "spin-roundtrip-test"
trigger = { type = "http" }
version = "1.0.0"

[[component]]
id = "http-roundtrip-test"
[[trigger.http]]
route = "/hello/..."
component = "http-roundtrip-test"

[component.http-roundtrip-test]
source = "main.wasm"
allowed_outbound_hosts = ["https://example.com"]
[component.trigger]
route = "/hello/..."
[component.build]
command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go"
[component.http-roundtrip-test.build]
command = "tinygo build -target=wasip1 -gc=leaking -buildmode=c-shared -no-debug -o main.wasm ."
watch = ["**/*.go", "go.mod"]

0 comments on commit ac30604

Please sign in to comment.