Add caching
This commit is contained in:
parent
2731830d71
commit
c7511e73b1
|
|
@ -9,6 +9,10 @@ services:
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/gopath/pkg/mod
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export GIMME_GO=$(< GO_VERSION)
|
- export GIMME_GO=$(< GO_VERSION)
|
||||||
- eval "$(gimme ${GIMME_GO%.0})";
|
- eval "$(gimme ${GIMME_GO%.0})";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue