dotfiles/.woodpecker/test.yml

14 lines
No EOL
430 B
YAML

pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- mkdir -p ~/.config/nix
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
- echo "sandbox = false" >> ~/.config/nix/nix.conf
- time nix flake metadata
- time nix --no-sandbox develop -c statix check
- time nix flake check
volumes:
- /var/lib/woodpecker/nix-store:/var/build-nix-store