hardcode go1.20 and above for testing mac builds

This commit is contained in:
Jeff Carr 2024-11-29 22:46:02 -06:00
parent e43863e8e7
commit c25e4dd406
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ func (rs *RepoStatus) MakeRedomod() (bool, error) {
log.Log(REPO, "go mod tidy failed", 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())
if rs.Exists("go.sum") {