diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 499cf84c7..592f82305 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,12 @@ jobs: - name: Install wasmbrowsertest run: | - env GO111MODULE=off go get github.com/agnivade/wasmbrowsertest - mv $(go env GOPATH)/bin/wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec + # TODO: Use go install github.com/agnivade/wasmbrowsertest@... on Go 1.16 or later. + mkdir /tmp/wasmbrowsertest + cd /tmp/wasmbrowsertest + go mod init foo + go build -o wasmbrowsertest github.com/agnivade/wasmbrowsertest + mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec - name: Xvfb if: ${{ matrix.os == 'ubuntu-latest' }}