Also try to cache the go mod download cache
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user