From 7a07c774de95d8b329f9175b6fe7f5ea6576b802 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Mon, 22 Apr 2019 11:48:18 -0400 Subject: [PATCH] Add $GOPROXY to Golang example (#259) Should speed up downloads. See https://github.com/golang/go/issues/29935#issuecomment-483756630 for details --- docs/examples.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/examples.md b/docs/examples.md index d58bd824..5f6a08bc 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -127,6 +127,9 @@ an example of how `.cirrus.yml` can look like for a project using Go Modules: container: image: golang:latest +env: + GOPROXY: https://gocenter.io + test_task: modules_cache: fingerprint_script: cat go.sum