infrastructure/.woodpecker.yml
2023-05-26 12:15:37 +02:00

12 lines
395 B
YAML

pipeline:
check:
image: nixos/nix:2.15.1
commands:
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- echo "store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt" >> /etc/nix/nix.conf
- nix run 'nixpkgs#statix' check .
- nix run 'nixpkgs#deadnix' -- -f
- nix run 'nixpkgs#yamllint' .
volumes:
- /nix:/mnt/nix:ro