Skip to content

Commit 8351733

Browse files
authored
Merge pull request #265 from lxfontes/lxfontes/tinygo-037
chore: Go 1.24 & TinyGo to 0.37
2 parents 712a5a9 + a57afe5 commit 8351733

File tree

15 files changed

+32
-24
lines changed

15 files changed

+32
-24
lines changed

.github/workflows/component-go.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on:
44
push:
55
branches: ["main"]
66
paths:
7-
- '.github/workflows/component-go.yaml'
8-
- 'component/**'
9-
- 'examples/component/**'
7+
- ".github/workflows/component-go.yaml"
8+
- "component/**"
9+
- "examples/component/**"
1010
pull_request:
1111
branches: ["main"]
1212
paths:
13-
- '.github/workflows/component-go.yaml'
14-
- 'component/**'
15-
- 'examples/component/**'
13+
- ".github/workflows/component-go.yaml"
14+
- "component/**"
15+
- "examples/component/**"
1616

1717
env:
1818
TINYGO_VERSION: "0.36.0"
@@ -88,6 +88,7 @@ jobs:
8888
- http-password-checker
8989
- invoke
9090
- sqldb-postgres-query
91+
- wasitel-http
9192
runs-on: ubuntu-latest
9293
steps:
9394
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/provider-go.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- 'examples/provider/**'
1616

1717
env:
18-
GOLANGCI_VERSION: "v1.61"
18+
GOLANGCI_VERSION: "v1.64.2"
1919

2020
permissions:
2121
contents: read

.github/workflows/templates-go.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- "templates/**"
1414

1515
env:
16-
TINYGO_VERSION: "0.36.0"
16+
TINYGO_VERSION: "0.37.0"
1717
GOLANGCI_VERSION: "v1.64.2"
1818
WASH_VERSION: "0.37.0"
1919
WASM_TOOLS_VERSION: "1.225.0"

.github/workflows/wasmbus-go.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- "x/wasmbus/**"
1414

1515
env:
16-
GOLANGCI_VERSION: "v1.61"
16+
GOLANGCI_VERSION: "v1.64.2"
1717
WASH_VERSION: "0.37.0"
1818

1919
permissions:

examples/component/sqldb-postgres-query/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module sqldb-postgres-query
22

33
go 1.24
44

5-
toolchain go1.24.0
5+
toolchain go1.24.1
66

77
require (
88
github.com/stretchr/testify v1.10.0

examples/component/sqldb-postgres-query/test-harness/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module test-harness
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
go.bytecodealliance.org v0.5.0

examples/component/wasitel-http/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ require (
3434
)
3535

3636
tool go.bytecodealliance.org/cmd/wit-bindgen-go
37+
38+
// NOTE(lxf): Remove this line if running outside of wasmCloud/go repository
39+
replace go.wasmcloud.dev/component => ../../../component

examples/component/wasitel-http/main.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ func init() {
2424
}
2525

2626
func echoHandler(w http.ResponseWriter, r *http.Request) {
27+
if err := setupOTelSDK(); err != nil {
28+
http.Error(w, "failed setting up otel", http.StatusInternalServerError)
29+
return
30+
}
31+
2732
ctx := r.Context()
28-
setupOTelSDK()
2933
_, span := tracer.Start(ctx, serviceName)
3034
defer span.End()
3135

examples/provider/http-server/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/wasmCloud/go/examples/provider/http-server
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
replace go.wasmcloud.dev/provider => ../../../provider
88

examples/provider/keyvalue-inmemory/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/wasmCloud/go/examples/provider/keyvalue-inmemory
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
replace go.wasmcloud.dev/provider => ../../../provider
88

0 commit comments

Comments
 (0)