Compare commits

..

8 commits

Author SHA1 Message Date
2ab3332941
chore: fix linting
Some checks failed
continuous-integration/drone/push Build is failing
2025-06-18 23:35:26 +02:00
6f88a635cc
fix member deletion: property delete on cascade 2025-06-18 23:35:26 +02:00
dab54bcef9
replace default fields from properties with example fields 2025-06-18 23:35:26 +02:00
6d426a21e8
liveview for new member fields 2025-06-18 23:35:25 +02:00
abfc94473f
Member fields 2025-06-18 23:35:25 +02:00
2e50e01e7f Merge pull request 'Add CI cache' (#75) from ci-cache into main
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #75
2025-06-18 21:55:21 +02:00
d54b226be5
fix(ci): Dont install dependencies again in test step
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-18 14:44:04 +02:00
6a1c869ea4
Add CI cache
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-18 14:36:58 +02:00

View file

@ -14,6 +14,26 @@ trigger:
- push
steps:
- name: compute cache key
image: docker.io/library/elixir:1.18.3-otp-27
commands:
- mix_lock_hash=$(sha256sum mix.lock | cut -d ' ' -f 1)
- echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/$mix_lock_hash" >> .cache_key
# Print cache key for debugging
- cat .cache_key
- name: restore-cache
image: drillster/drone-volume-cache
settings:
restore: true
mount:
- ./deps
- ./_build
ttl: 30
volumes:
- name: cache
path: /cache
- name: lint
image: docker.io/library/elixir:1.18.3-otp-27
commands:
@ -59,11 +79,25 @@ steps:
commands:
# Install hex package manager
- mix local.hex --force
# Fetch dependencies
- mix deps.get
# Run tests
- mix test
- name: rebuild-cache
image: drillster/drone-volume-cache
settings:
rebuild: true
mount:
- ./deps
- ./_build
volumes:
- name: cache
path: /cache
volumes:
- name: cache
host:
path: /tmp/drone_cache
---
kind: pipeline
type: docker