From b919eff34fec07ca7a28e57f6ded55448013c1c4 Mon Sep 17 00:00:00 2001 From: Alec Sears Date: Thu, 10 Oct 2019 16:02:02 -0500 Subject: [PATCH] Also try to cache the go mod download cache --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 255c398..b661179 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,6 +49,7 @@ jobs: key: dependency-cache-go-{{ checksum "go.sum" }} paths: - ./vendor + - /go/pkg/mod - run: make build lint: @@ -75,6 +76,7 @@ jobs: key: dependency-cache-go-{{ checksum "go.sum" }} paths: - ./vendor + - /go/pkg/mod - run: make lint test: @@ -108,6 +110,7 @@ jobs: key: dependency-cache-go-{{ checksum "go.sum" }} paths: - ./vendor + - /go/pkg/mod - run: make test-ci - run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" - store_test_results: @@ -147,6 +150,7 @@ jobs: key: dependency-cache-go-{{ checksum "go.sum" }} paths: - ./vendor + - /go/pkg/mod - run: ./.circleci/make-release.sh build-docs: