File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - uses : ./.extism-cli/.github/actions/extism-cli
1818 - name : Install
1919 shell : bash
20- run : sudo extism lib install --version git --github-token "${{ inputs.token }}"
20+ run : sudo extism lib install --version v1.21.0 --github-token "${{ inputs.token }}"
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
2020 - run : cp go-pdk/go.sum . # Needed to get setup-go to work
2121
2222 - name : Install Go
23- uses : actions/setup-go@v3
23+ uses : actions/setup-go@v4
2424 with :
2525 cache : true
26- go-version : ' 1.21.3 '
26+ go-version : ' 1.23.0 '
2727
2828 - name : Install TinyGo
2929 uses : acifani/setup-tinygo@v1.1.0
Original file line number Diff line number Diff line change 99
1010//go:wasmexport http_get
1111func httpGet () int32 {
12- // create an HTTP Request (withuot relying on WASI), set headers as needed
12+ // create an HTTP Request (without relying on WASI), set headers as needed
1313 req := pdk .NewHTTPRequest (pdk .MethodGet , "https://jsonplaceholder.typicode.com/todos/1" )
1414 req .SetHeader ("some-name" , "some-value" )
1515 req .SetHeader ("another" , "again" )
Original file line number Diff line number Diff line change 11module github.com/extism/go-pdk
22
3- go 1.26.1
4-
5- require github.com/extism/go-pdk/wasi-reactor v0.0.0-20260122165646-35abd9e2ba55
3+ go 1.23.0
Original file line number Diff line number Diff line change 1- github.com/extism/go-pdk/wasi-reactor v0.0.0-20260122165646-35abd9e2ba55 h1:4llAGnP7gEo6719wl4WUocxI4e1kU4G4QP0w25xhZ1Q =
2- github.com/extism/go-pdk/wasi-reactor v0.0.0-20260122165646-35abd9e2ba55 /go.mod h1:WDu1fWWoFToXBPq+vRAnfFROFFdPayxGbiXf8ysq+no =
Original file line number Diff line number Diff line change 1- go 1.26.1
1+ go 1.23.0
22
33use (
44 .
Original file line number Diff line number Diff line change 11module github.com/extism/go-pdk/wasi-reactor
22
3- go 1.26.1
3+ go 1.23.0
You can’t perform that action at this time.
0 commit comments