diff --git a/.drone.yml b/.drone.yml index 1dbc9fd..4607974 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,16 @@ trigger: - push steps: + - name: restore-cache + image: drillster/drone-volume-cache + settings: + restore: true + mount: + - ./deps + volumes: + - name: cache + path: /tmp/cache + - name: lint image: docker.io/library/elixir:1.18.3-otp-27 commands: @@ -63,6 +73,21 @@ steps: # Run tests - mix test + - name: rebuild-cache + image: drillster/drone-volume-cache + settings: + rebuild: true + mount: + - ./deps + volumes: + - name: cache + path: /tmp/cache + +volumes: + - name: cache + host: + path: /tmp/drone_cache + --- kind: pipeline type: docker