dotfiles/.woodpecker/test.yml

13 lines
No EOL
373 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
- 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