Build and test forked PRs properly (#1738)

* build forks on PRs properly
This commit is contained in:
Dominic Wong
2020-06-24 23:41:27 +01:00
committed by GitHub
parent 00cd07a3a6
commit fcd307d902
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# set -x
failed=0
go mod edit -replace github.com/micro/go-micro/v2=github.com/micro/go-micro/v2@$1
go mod edit -replace github.com/micro/go-micro/v2=github.com/$2/v2@$1
# basic test, build the binary
go install
failed=$?