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

Apply suggestion to doc/ci/caching/index.md

parent 0078cbdb
...@@ -337,8 +337,6 @@ all jobs inherit it. Go modules are installed in `${GOPATH}/pkg/mod/` and ...@@ -337,8 +337,6 @@ all jobs inherit it. Go modules are installed in `${GOPATH}/pkg/mod/` and
are cached for all of all the `go` projects: are cached for all of all the `go` projects:
```yaml ```yaml
image: golang:1.13
.go-cache: .go-cache:
variables: variables:
GOPATH: $CI_PROJECT_DIR/.go GOPATH: $CI_PROJECT_DIR/.go
...@@ -349,6 +347,7 @@ image: golang:1.13 ...@@ -349,6 +347,7 @@ image: golang:1.13
- .go/pkg/mod/ - .go/pkg/mod/
test: test:
image: golang:1.13
extends: .go-cache extends: .go-cache
script: script:
- go test ./... -v -short - go test ./... -v -short
......
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