diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d31e87f..53012e4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -35,3 +35,14 @@ jobs: - name: Test run: go test -v . + + - name: Set env + run: | + echo '::set-env name=GO111MODULE::on' + + - name: Fetch xgo + run: go get github.com/suburbandad/xgo + + - name: Cross-compile + run: xgo -v -x --targets="linux/amd64,linux/arm64,windows/amd64" github.com/wealdtech/ethdo +