hardcode go1.20 and above for testing mac builds
This commit is contained in:
parent
e43863e8e7
commit
c25e4dd406
|
@ -144,6 +144,10 @@ func (rs *RepoStatus) MakeRedomod() (bool, error) {
|
||||||
log.Log(REPO, "go mod tidy failed", err)
|
log.Log(REPO, "go mod tidy failed", err)
|
||||||
return ok, err
|
return ok, err
|
||||||
}
|
}
|
||||||
|
if ok, err := rs.strictRun([]string{"go", "mod", "edit", "-go=1.20"}); !ok {
|
||||||
|
log.Log(REPO, "go mod edit failed", err)
|
||||||
|
return ok, err
|
||||||
|
}
|
||||||
log.Log(REPO, "MakeRedomod() worked", rs.GoPath())
|
log.Log(REPO, "MakeRedomod() worked", rs.GoPath())
|
||||||
|
|
||||||
if rs.Exists("go.sum") {
|
if rs.Exists("go.sum") {
|
||||||
|
|
Loading…
Reference in New Issue