more-build-caching #98
@@ -4,7 +4,8 @@
|
||||
commands:
|
||||
- go test ./...
|
||||
volumes:
|
||||
- go_cache:/root/.cache/go-build
|
||||
- go_build_cache:/root/.cache/go-build
|
||||
- go_mod_cache:/go/pkg/mod
|
||||
build:
|
||||
image: docker
|
||||
commands:
|
||||
@@ -23,4 +24,5 @@
|
||||
branch: "master"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- go_cache:/root/.cache/go-build
|
||||
- go_build_cache:/root/.cache/go-build
|
||||
- go_mod_cache:/go/pkg/mod
|
||||
|
||||
Reference in New Issue
Block a user