2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-10 12:52:21 +00:00

CI: Enable Go Module Proxy

This commit is contained in:
Alexander Neumann 2020-03-01 19:47:23 +01:00
parent b1c77172c2
commit 12aa1e61da

View File

@ -576,6 +576,13 @@ func main() {
os.Exit(1)
}
// enable the Go Module Proxy
err = os.Setenv("GOPROXY", "https://proxy.golang.org")
if err != nil {
msg("setenv(GOPROXY) return error: %v\n", err)
os.Exit(1)
}
var env CIEnvironment
switch {