snowflake/.woodpecker/checks.yml
notohh 684b3ddb7e
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci: add push event to checks
2024-01-23 22:11:28 -05:00

16 lines
474 B
YAML

when:
- event: [push]
- path:
include: ['**.nix']
exclude: ['**.md', 'docs/**', '.woodpecker/*.yaml', '**.js', '**.lua', '**.scss', '**.nu']
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 .