no build cache as the time is similar

This commit is contained in:
Cyryl Płotnicki 2022-12-03 15:58:23 +00:00
parent 06aa0e8502
commit 7371b5827e

View file

@ -1,27 +1,9 @@
pipeline: pipeline:
restore-cache:
image: drillster/drone-volume-cache
pull: true
settings:
restore: true
mount:
- ./nix-store
volumes:
- /var/lib/woodpecker/cache:/cache
check: check:
image: nixpkgs/nix-flakes:latest image: nixpkgs/nix-flakes:latest
pull: true pull: true
commands: commands:
- nix --no-sandbox flake info - nix --no-sandbox flake metadata
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos - 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