mirror of
https://github.com/restic/restic.git
synced 2024-12-21 23:33:03 +00:00
CI: Enable Go Module Proxy
This commit is contained in:
parent
b1c77172c2
commit
12aa1e61da
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue