snowflake/.woodpecker/checks.yml

20 lines
502 B
YAML
Raw Normal View History

2023-06-17 13:39:14 -04:00
pipeline:
2023-06-18 18:11:15 -04:00
check:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
2023-06-18 18:27:22 -04:00
when:
2023-06-18 18:44:14 -04:00
path:
include: [ '*.nix' ]
exclude: [ '*.md', '*.yml' ]
2023-06-17 13:40:39 -04:00
fmt:
2023-06-17 13:39:14 -04:00
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .
2023-06-18 18:27:22 -04:00
when:
2023-06-18 18:44:14 -04:00
path:
include: [ '*.nix' ]
exclude: [ '*.md', '*.yml' ]