diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 99a9e09..34055ce 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -25,8 +25,8 @@ jobs: strategy: matrix: go-version: # Note: Go only supports 2 versions: https://go.dev/doc/devel/release#policy - - "1.20" - - "1.21" + - "1.22" + - "1.23" steps: - uses: actions/checkout@v4 @@ -60,8 +60,8 @@ jobs: strategy: matrix: go-version: # Note: Go only supports 2 versions: https://go.dev/doc/devel/release#policy - - "1.20" - - "1.21" + - "1.22" + - "1.23" steps: - name: "Checkout" @@ -89,19 +89,19 @@ jobs: - name: "Set up Go" uses: actions/setup-go@v4 with: - go-version: "1.21" + go-version: "1.23" cache: true - name: "Set up TinyGo" uses: acifani/setup-tinygo@v1 with: - tinygo-version: 0.30.0 + tinygo-version: 0.33.0 - name: "Cache TinyGo build" uses: actions/cache@v3 with: path: ~/.cache/tinygo - key: tinygo-0.30.0 + key: tinygo-0.33.0 - name: "Build TCK" run: make tck diff --git a/Makefile b/Makefile index 4d04f9f..abb40ed 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ gofumpt := mvdan.cc/gofumpt@v0.5.0 gosimports := github.com/rinchsan/gosimports/cmd/gosimports@v0.3.8 -golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0 +golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 .PHONY: testdata testdata: diff --git a/go.mod b/go.mod index cfebef5..71e2673 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/http-wasm/http-wasm-host-go -go 1.19 +go 1.21 -require github.com/tetratelabs/wazero v1.5.0 +require github.com/tetratelabs/wazero v1.8.0 diff --git a/go.sum b/go.sum index 68da83b..7c31eee 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/tetratelabs/wazero v1.5.0 h1:Yz3fZHivfDiZFUXnWMPUoiW7s8tC1sjdBtlJn08qYa0= -github.com/tetratelabs/wazero v1.5.0/go.mod h1:0U0G41+ochRKoPKCJlh0jMg1CHkyfK8kDqiirMmKY8A= +github.com/tetratelabs/wazero v1.8.0 h1:iEKu0d4c2Pd+QSRieYbnQC9yiFlMS9D+Jr0LsRmcF4g= +github.com/tetratelabs/wazero v1.8.0/go.mod h1:yAI0XTsMBhREkM/YDAK/zNou3GoiAce1P6+rp/wQhjs= diff --git a/handler/middleware_test.go b/handler/middleware_test.go index 04224dd..14457cd 100644 --- a/handler/middleware_test.go +++ b/handler/middleware_test.go @@ -6,10 +6,11 @@ import ( "reflect" "testing" - "github.com/http-wasm/http-wasm-host-go/api/handler" - "github.com/http-wasm/http-wasm-host-go/internal/test" "github.com/tetratelabs/wazero" "github.com/tetratelabs/wazero/imports/wasi_snapshot_preview1" + + "github.com/http-wasm/http-wasm-host-go/api/handler" + "github.com/http-wasm/http-wasm-host-go/internal/test" ) var testCtx = context.Background() @@ -64,7 +65,6 @@ func TestAlreadyExistingWasipModulue(t *testing.T) { } return r, nil })) - if err != nil { t.Fatal(err) } diff --git a/tck/tck.wasm b/tck/tck.wasm index fc70d1b..47cd393 100755 Binary files a/tck/tck.wasm and b/tck/tck.wasm differ