2024-01-23 20:00:57 -05:00
|
|
|
when:
|
2024-01-23 22:11:28 -05:00
|
|
|
- event: [push]
|
2024-01-31 14:17:11 -05:00
|
|
|
- branch: master
|
2024-01-23 20:00:57 -05:00
|
|
|
- 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 .
|