Skip to content

Commit 7eafa8f

Browse files
committed
Go get cannot be removed (tests can timeout)
1 parent 4be45b6 commit 7eafa8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/leeway/build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ func (p *Package) buildGo(buildctx *buildContext, wd, result string) (err error)
904904
if cfg.Generate {
905905
commands = append(commands, []string{goCommand, "generate", "-v", "./..."})
906906
}
907+
commands = append(commands, []string{goCommand, "get", "-v", "./..."})
907908

908909
if !cfg.DontCheckGoFmt {
909910
commands = append(commands, []string{"sh", "-c", `if [ ! $(go fmt ./... | wc -l) -eq 0 ]; then echo; echo; echo please gofmt your code; echo; echo; exit 1; fi`})

0 commit comments

Comments
 (0)