infrastructure/.woodpecker.yml

11 lines
357 B
YAML

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