dotfiles/.woodpecker.yml

28 lines
592 B
YAML

pipeline:
restore-cache:
image: drillster/drone-volume-cache
pull: true
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 --eval-store ./nix-store -c statix check ./nixos
save-cache:
image: drillster/drone-volume-cache
pull: true
settings:
rebuild: true
mount:
- ./nix-store
volumes:
- /var/lib/woodpecker/cache:/cache