Improve CI cache
This commit is contained in:
parent
443d59baa0
commit
f685351c1e
@ -13,6 +13,7 @@ cache:
|
|||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- deps
|
- deps
|
||||||
|
- _build
|
||||||
stages:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
@ -23,6 +24,7 @@ before_script:
|
|||||||
- mix deps.get
|
- mix deps.get
|
||||||
- MIX_ENV=test mix ecto.create
|
- MIX_ENV=test mix ecto.create
|
||||||
- MIX_ENV=test mix ecto.migrate
|
- MIX_ENV=test mix ecto.migrate
|
||||||
|
- mix compile --force
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
Loading…
Reference in New Issue
Block a user