Add CI cache
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rafael Epplée 2025-05-28 17:34:57 +02:00
parent e99af641f8
commit 6ecbe1e0ae
No known key found for this signature in database
GPG key ID: B4EFE6DC59FAE118

View file

@ -14,6 +14,15 @@ trigger:
- push
steps:
- name: restore-cache
image: drillster/drone-volume-cache
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 +72,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