From: Matt Joiner Date: Wed, 9 Jan 2019 00:23:07 +0000 (+1100) Subject: Cache the entire go pkg folder X-Git-Tag: v1.1.0~25^2~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8dc4f1c81fbd12fb7da6c566ce8d1bc1c744ffc6;p=btrtrc.git Cache the entire go pkg folder --- diff --git a/.circleci/config.yml b/.circleci/config.yml index bd193344..3cfa7c47 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,7 @@ jobs: - run: sudo apt install fuse pv - restore_cache: keys: - - go-mod + - go-pkg - run: go get -d ./... - run: go test -v -race ./... -count 2 - run: go test -bench . ./... @@ -40,8 +40,8 @@ jobs: # - run: GO111MODULE=off go install github.com/anacrolix/godo - run: go install ./cmd/torrentfs - save_cache: - key: go-mod-{{ epoch }} + key: go-pkg-{{ epoch }} paths: - - ~/go/pkg/mod + - ~/go/pkg - run: sudo modprobe fuse - run: fs/test.sh