speed up build with cache
This commit is contained in:
parent
3c593f183f
commit
12d2271f95
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,14 @@ variables:
|
|||
services:
|
||||
- docker:20.10.16-dind
|
||||
|
||||
# Cache common dependencies to speed up builds
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- vendor/bundle
|
||||
- tmp/cache
|
||||
- .bundle
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue