make/pr: enforce vendor for run (#10296)

This commit is contained in:
Antoine GIRARD
2020-02-16 17:30:09 +01:00
repo.diff.committed_by GitHub
repo.diff.parent c0bc9871be
repo.diff.commit df758f3cc9

repo.diff.view_file

@@ -250,7 +250,7 @@ func main() {
//Force build of js, css, bin, ...
runCmd("make", "build")
//Start with integration test
runCmd("go", "run", "-tags", "sqlite sqlite_unlock_notify", codeFilePath, "-run")
runCmd("go", "run", "-mod", "vendor", "-tags", "sqlite sqlite_unlock_notify", codeFilePath, "-run")
}
func runCmd(cmd ...string) {
log.Printf("Executing : %s ...\n", cmd)