Skip to content

Commit

Permalink
Cache modules in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eraclitux committed Dec 9, 2018
1 parent 12096db commit 3c7ff4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ jobs:
- image: circleci/golang:latest
steps:
- checkout
- restore_cache:
keys:
- v1-cache-{{ checksum "go.sum" }}
- run: go test -v -cover ./...
- save_cache:
key: v1-cache-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"

0 comments on commit 3c7ff4b

Please sign in to comment.