snowflake/.woodpecker/checks.yml

16 lines
456 B
YAML
Raw Normal View History

2024-01-23 20:00:57 -05:00
when:
- path:
2024-01-23 22:09:42 -05:00
include: ['**.nix']
exclude: ['**.md', 'docs/**', '.woodpecker/*.yaml', '**.js', '**.lua', '**.scss', '**.nu']
2024-01-23 20:00:57 -05:00
steps:
check:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
fmt:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .