From fdad70ca4606ef91562d4f3ddc1a45e0aa2f5ced Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 5 Jan 2021 12:32:01 +0900 Subject: [PATCH] Use the more stable version of wasmbrowsertest --- .github/workflows/test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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' }}