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

@@ -32,7 +32,7 @@ function check_dir {
}
failed_arr=()
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
check_dir . $1
if [ $failed -gt 0 ]; then
echo Some builds failed