Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/component-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
push:
branches: ["main"]
paths:
- '.github/workflows/component-go.yaml'
- 'component/**'
- 'examples/component/**'
- ".github/workflows/component-go.yaml"
- "component/**"
- "examples/component/**"
pull_request:
branches: ["main"]
paths:
- '.github/workflows/component-go.yaml'
- 'component/**'
- 'examples/component/**'
- ".github/workflows/component-go.yaml"
- "component/**"
- "examples/component/**"

env:
TINYGO_VERSION: "0.36.0"
Expand Down Expand Up @@ -88,6 +88,7 @@ jobs:
- http-password-checker
- invoke
- sqldb-postgres-query
- wasitel-http
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provider-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'examples/provider/**'

env:
GOLANGCI_VERSION: "v1.61"
GOLANGCI_VERSION: "v1.64.2"

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- "templates/**"

env:
TINYGO_VERSION: "0.36.0"
TINYGO_VERSION: "0.37.0"
GOLANGCI_VERSION: "v1.64.2"
WASH_VERSION: "0.37.0"
WASM_TOOLS_VERSION: "1.225.0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasmbus-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- "x/wasmbus/**"

env:
GOLANGCI_VERSION: "v1.61"
GOLANGCI_VERSION: "v1.64.2"
WASH_VERSION: "0.37.0"

permissions:
Expand Down
2 changes: 1 addition & 1 deletion examples/component/sqldb-postgres-query/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module sqldb-postgres-query

go 1.24

toolchain go1.24.0
toolchain go1.24.1

require (
github.com/stretchr/testify v1.10.0
Expand Down
4 changes: 2 additions & 2 deletions examples/component/sqldb-postgres-query/test-harness/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module test-harness

go 1.23.0
go 1.24

toolchain go1.23.6
toolchain go1.24.1

require (
go.bytecodealliance.org v0.5.0
Expand Down
3 changes: 3 additions & 0 deletions examples/component/wasitel-http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ require (
)

tool go.bytecodealliance.org/cmd/wit-bindgen-go

// NOTE(lxf): Remove this line if running outside of wasmCloud/go repository
replace go.wasmcloud.dev/component => ../../../component
6 changes: 5 additions & 1 deletion examples/component/wasitel-http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ func init() {
}

func echoHandler(w http.ResponseWriter, r *http.Request) {
if err := setupOTelSDK(); err != nil {
http.Error(w, "failed setting up otel", http.StatusInternalServerError)
return
}

ctx := r.Context()
setupOTelSDK()
_, span := tracer.Start(ctx, serviceName)
defer span.End()

Expand Down
4 changes: 2 additions & 2 deletions examples/provider/http-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/wasmCloud/go/examples/provider/http-server

go 1.23.0
go 1.24

toolchain go1.23.6
toolchain go1.24.1

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

Expand Down
4 changes: 2 additions & 2 deletions examples/provider/keyvalue-inmemory/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/wasmCloud/go/examples/provider/keyvalue-inmemory

go 1.23.0
go 1.24

toolchain go1.23.6
toolchain go1.24.1

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

Expand Down
2 changes: 1 addition & 1 deletion examples/wasmbus/wasmcloud-rpc/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module wasmcloud-rpc

go 1.23.3
go 1.24

require (
github.com/charmbracelet/lipgloss v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module go.wasmcloud.dev/provider

go 1.23.0
go 1.24

toolchain go1.23.6
toolchain go1.24.1

require (
github.com/nats-io/nats.go v1.40.1
Expand Down
2 changes: 1 addition & 1 deletion x/wasitel/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.wasmcloud.dev/x/wasitel

go 1.23.2
go 1.24

require (
go.opentelemetry.io/otel v1.34.0
Expand Down
4 changes: 2 additions & 2 deletions x/wasitel/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w=
go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k=
go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE=
go.wasmcloud.dev/component v0.0.5 h1:z9+fq1CJKm/yom33ctd5wfo8TVunm5IaI7EJdY2i9hk=
go.wasmcloud.dev/component v0.0.5/go.mod h1:PvVHQ7Xp8D9kZnVB3fm8lqWAcC6Yxd7CI/snXZUAG8E=
go.wasmcloud.dev/component v0.0.6 h1:DjM71smlK8rJWUTYeG/HxlDYwsN3sWnvIfA74GRmUNg=
go.wasmcloud.dev/component v0.0.6/go.mod h1:Ww1oCrzFXk/QSlE7X/vJRI7rF3bmhCc/Usp7Isf8Atw=
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
2 changes: 1 addition & 1 deletion x/wasmbus/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.wasmcloud.dev/x/wasmbus

go 1.23.3
go 1.24

require (
github.com/cloudevents/sdk-go/v2 v2.16.0
Expand Down
Loading