add key to cache

This commit is contained in:
Todd Gruben 2021-10-29 17:01:45 -05:00
parent 2d33c40a50
commit bba60eb20d

View file

@ -7,8 +7,9 @@ include:
variables:
GOPATH: $CI_PROJECT_DIR/.go
cache:
paths:
- .go/pkg/mod/
- key: $CI_COMMIT_REF_SLUG
paths:
- .go/pkg/mod/
stages:
- lint