infrastructure/.woodpecker.yml

11 lines
362 B
YAML

pipeline:
check:
image: nixos/nix:2.15.0
environment:
- NIX_CONFIG="experimental-features = nix-command flakes \n store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt"
commands:
- nix run 'nixpkgs#statix' check
- nix run 'nixpkgs#deadnix' -- -f
- nix run 'nixpkgs#yamllint' .
volumes:
- /nix:/mnt/nix:ro