diff --git a/.drone.yml b/.drone.yml index 4607974..66c9e24 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,12 +14,19 @@ trigger: - push steps: + - name: compute cache key + image: docker.io/library/elixir:1.18.3-otp-27 + commands: + - echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/" >> .cache_key + - name: restore-cache image: drillster/drone-volume-cache settings: restore: true mount: - ./deps + - ./_build + ttl: 30 volumes: - name: cache path: /tmp/cache @@ -71,7 +78,9 @@ steps: # Fetch dependencies - mix deps.get # Run tests - - mix test + # - mix test + # TODO: remove this, added only for testing + - mix compile - name: rebuild-cache image: drillster/drone-volume-cache