Use Go modules for dependency management (#6912)

This commit is contained in:
Daniel Nelson
2020-01-16 14:38:06 -08:00
committed by GitHub
parent 17c165391b
commit 5f1f4b9e8d
10 changed files with 771 additions and 46 deletions

View File

@@ -161,8 +161,8 @@ def go_get(branch, update=False, no_uncommitted=False):
if local_changes() and no_uncommitted:
logging.error("There are uncommitted changes in the current directory.")
return False
logging.info("Retrieving dependencies with `dep`...")
run("dep ensure -v -vendor-only")
logging.info("Retrieving dependencies...")
run("go mod download")
return True
def run_tests(race, parallel, timeout, no_vet):