no build cache as the time is similar
This commit is contained in:
parent
06aa0e8502
commit
7371b5827e
1 changed files with 1 additions and 19 deletions
|
@ -1,27 +1,9 @@
|
|||
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 flake metadata
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue