26 lines
542 B
YAML
26 lines
542 B
YAML
pipeline:
|
|
restore-cache:
|
|
image: drillster/drone-volume-cache
|
|
settings:
|
|
restore: true
|
|
mount:
|
|
- /nix/store
|
|
volumes:
|
|
- /var/lib/woodpecker/cache:/cache
|
|
|
|
check:
|
|
image: nixpkgs/nix-flakes:latest
|
|
pull: true
|
|
commands:
|
|
- nix --no-sandbox flake info
|
|
- nix --no-sandbox develop -c statix check
|
|
|
|
save-cache:
|
|
image: drillster/drone-volume-cache
|
|
pull: true
|
|
settings:
|
|
rebuild: true
|
|
mount:
|
|
- /nix/store
|
|
volumes:
|
|
- /var/lib/woodpecker/cache:/cache
|