Use the more stable version of wasmbrowsertest

This commit is contained in:
Hajime Hoshi 2021-01-05 12:32:01 +09:00
parent f8a1bba118
commit d655d5f66c

View File

@ -32,8 +32,12 @@ jobs:
- name: Install wasmbrowsertest - name: Install wasmbrowsertest
run: | run: |
env GO111MODULE=off go get github.com/agnivade/wasmbrowsertest # TODO: Use go install github.com/agnivade/wasmbrowsertest@... on Go 1.16 or later.
mv $(go env GOPATH)/bin/wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec 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 - name: Xvfb
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}