dotfiles/.woodpecker.yml
2022-11-08 19:48:47 +00:00

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