Commit f38aacdb authored by Hüseyin Güner's avatar Hüseyin Güner

change cache path

parent 2898a3f9
......@@ -339,18 +339,20 @@ are cached per-branch:
```yaml
image: golang:1.13
# Cache libraries in between jobs
cache:
.go-cache:
variables:
GOPATH: $CI_PROJECT_DIR/.go
before_script:
- mkdir -p .go
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- vendor/
before_script:
- go mod vendor
- .go/pkg/mod/
test:
extends: .go-cache
script:
- go test -mod vendor ./... -v -short
- go test ./... -v -short
```
## Availability of the cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment