dotfiles/.woodpecker/test.yml

15 lines
457 B
YAML
Raw Normal View History

2022-12-03 16:29:14 +00:00
pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- mkdir -p ~/.config/nix
2022-12-25 17:33:30 +00:00
- echo "store = /var/build-nix-store" >> /etc/nix/nix.conf
- echo "sandbox = false" >> /etc/nix/nix.conf
- cat /etc/nix/nix.conf
2022-12-21 15:07:53 +00:00
- time nix flake metadata
- time nix --no-sandbox develop -c statix check
- time nix flake check
2022-12-21 20:11:47 +00:00
volumes:
- /var/lib/woodpecker/nix-store:/var/build-nix-store