]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Change the go-mod cache key and path
authorMatt Joiner <anacrolix@gmail.com>
Tue, 8 Jan 2019 07:57:15 +0000 (18:57 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 8 Jan 2019 07:57:15 +0000 (18:57 +1100)
.circleci/config.yml

index 006469b197c39793693abcf4169f40665e42380e..742e763f1639ecc80cff0d05987bdf9d427862e6 100644 (file)
@@ -40,8 +40,8 @@ jobs:
       # - run: GO111MODULE=off go install github.com/anacrolix/godo
       - run: go install ./cmd/torrentfs
       - save_cache:
-          key: go-mod
+          key: go-mod-{{ epoch }}
           paths:
-            - $GOPATH/pkg/mod
+            - ~/go/pkg/mod
       - run: sudo modprobe fuse
       - run: fs/test.sh