From 8b94c919f69a97a86d6d719c359b09a33d05f455 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Tue, 25 Jun 2019 13:40:26 +0200 Subject: [PATCH] Use go.sum for CircleCI cache Signed-off-by: Sascha Grunert --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8618fbc..4e1ca82 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,12 +42,12 @@ jobs: - checkout - restore_cache: keys: - - v1-build-{{ checksum "vendor.conf" }} + - v1-build-{{ checksum "go.sum" }} - run: name: build command: make - save_cache: - key: v1-build-{{ checksum "vendor.conf" }} + key: v1-build-{{ checksum "go.sum" }} paths: - *gocache - persist_to_workspace: @@ -70,12 +70,12 @@ jobs: at: . - restore_cache: keys: - - v1-unit-tests-{{ checksum "vendor.conf" }} + - v1-unit-tests-{{ checksum "go.sum" }} - run: name: unit tests command: make test-unit - save_cache: - key: v1-unit-tests-{{ checksum "vendor.conf" }} + key: v1-unit-tests-{{ checksum "go.sum" }} paths: - *gocache