Also try to cache the go mod download cache

This commit is contained in:
Alec Sears
2019-10-10 16:02:02 -05:00
parent cbcd24d5cc
commit b919eff34f

View File

@@ -49,6 +49,7 @@ jobs:
key: dependency-cache-go-{{ checksum "go.sum" }} key: dependency-cache-go-{{ checksum "go.sum" }}
paths: paths:
- ./vendor - ./vendor
- /go/pkg/mod
- run: make build - run: make build
lint: lint:
@@ -75,6 +76,7 @@ jobs:
key: dependency-cache-go-{{ checksum "go.sum" }} key: dependency-cache-go-{{ checksum "go.sum" }}
paths: paths:
- ./vendor - ./vendor
- /go/pkg/mod
- run: make lint - run: make lint
test: test:
@@ -108,6 +110,7 @@ jobs:
key: dependency-cache-go-{{ checksum "go.sum" }} key: dependency-cache-go-{{ checksum "go.sum" }}
paths: paths:
- ./vendor - ./vendor
- /go/pkg/mod
- run: make test-ci - run: make test-ci
- run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" - run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
- store_test_results: - store_test_results:
@@ -147,6 +150,7 @@ jobs:
key: dependency-cache-go-{{ checksum "go.sum" }} key: dependency-cache-go-{{ checksum "go.sum" }}
paths: paths:
- ./vendor - ./vendor
- /go/pkg/mod
- run: ./.circleci/make-release.sh - run: ./.circleci/make-release.sh
build-docs: build-docs: