diff --git a/.github/workflows/test-and-upload-coverage.yml b/.github/workflows/test-and-upload-coverage.yml index be85f5464a..a5a8e41eff 100644 --- a/.github/workflows/test-and-upload-coverage.yml +++ b/.github/workflows/test-and-upload-coverage.yml @@ -58,12 +58,13 @@ jobs: database-encryption: false ## TODO: https://github.com/sourcenetwork/defradb/issues/2080 ## Uncomment the lines below to Re-enable the windows build once this todo is resolved. -## - os: windows-latest -## client-type: go -## database-type: badger-memory -## mutation-type: collection-save -## detect-changes: false -## database-encryption: false + - os: windows-latest + client-type: go + database-type: badger-memory + mutation-type: collection-save + lens-type: wazero + detect-changes: false + database-encryption: false - os: ubuntu-latest client-type: go database-type: badger-memory diff --git a/go.mod b/go.mod index f9bac2daa8..0ddf2aeee0 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/ipld/go-ipld-prime v0.21.0 github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20240322071758-198d7dba8fb8 github.com/jbenet/goprocess v0.1.4 - github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c + github.com/lens-vm/lens/host-go v0.0.0-20240605153154-a71579f8979f github.com/lestrrat-go/jwx/v2 v2.0.21 github.com/libp2p/go-libp2p v0.33.2 github.com/libp2p/go-libp2p-gostream v0.6.0 @@ -85,7 +85,7 @@ require ( github.com/btcsuite/btcd v0.22.1 // indirect github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce // indirect - github.com/bytecodealliance/wasmtime-go/v15 v15.0.0 // indirect + github.com/bytecodealliance/wasmtime-go/v21 v21.0.0 // indirect github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect diff --git a/go.sum b/go.sum index 3203ff8b9c..247bf2573a 100644 --- a/go.sum +++ b/go.sum @@ -123,8 +123,8 @@ github.com/bufbuild/protocompile v0.6.0/go.mod h1:YNP35qEYoYGme7QMtz5SBCoN4kL4g1 github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/bxcodec/faker v2.0.1+incompatible h1:P0KUpUw5w6WJXwrPfv35oc91i4d8nf40Nwln+M/+faA= github.com/bxcodec/faker v2.0.1+incompatible/go.mod h1:BNzfpVdTwnFJ6GtfYTcQu6l6rHShT+veBxNCnjCx5XM= -github.com/bytecodealliance/wasmtime-go/v15 v15.0.0 h1:4R2MpSPPbtSxqdsOTvsMn1pnwdEhzbDGMao6LUUSLv4= -github.com/bytecodealliance/wasmtime-go/v15 v15.0.0/go.mod h1:m6vB/SsM+pnJkVHmO1wzHYUeYtciltTKuxuvkR8pYcY= +github.com/bytecodealliance/wasmtime-go/v21 v21.0.0 h1:d2m3R7TpNpOGuIi2PTC9w2nUY/A2IJinHOZTL76jyhg= +github.com/bytecodealliance/wasmtime-go/v21 v21.0.0/go.mod h1:o/HNPe7TdXkqbrkmU9YgHBFXU9OIF1FVPlqhZwC1tyk= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= @@ -695,8 +695,8 @@ github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c h1:bG+mr4SqbYRU69L6CSvHDsKbRg5Q9vaN2T5g7qcrPdQ= -github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c/go.mod h1:a4edl+KcOVk1Nj3EjG77htqg2/0Mmy3bSG0kl+FWVqQ= +github.com/lens-vm/lens/host-go v0.0.0-20240605153154-a71579f8979f h1:Kn1graelQMhvO6ns50WpmoyPWRcTeuztYp+iIrbtIaA= +github.com/lens-vm/lens/host-go v0.0.0-20240605153154-a71579f8979f/go.mod h1:sbEmbE5E8pT1w8HVMIzcKvwpi8AStmiZIeDIdKxQ+ys= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= diff --git a/tests/lenses/utils.go b/tests/lenses/utils.go index 0fab59d3a6..f33f5ab246 100644 --- a/tests/lenses/utils.go +++ b/tests/lenses/utils.go @@ -66,5 +66,5 @@ var FilterModulePath string = getPathRelativeToProjectRoot( func getPathRelativeToProjectRoot(relativePath string) string { _, filename, _, _ := runtime.Caller(0) root := path.Dir(path.Dir(path.Dir(filename))) - return path.Join(root, relativePath) + return "file:" + path.Join(root, relativePath) }