snowflake/.woodpecker/checks.yml
2023-06-18 18:44:14 -04:00

19 lines
502 B
YAML

pipeline:
check:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
when:
path:
include: [ '*.nix' ]
exclude: [ '*.md', '*.yml' ]
fmt:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .
when:
path:
include: [ '*.nix' ]
exclude: [ '*.md', '*.yml' ]