notohh
50c4f5c68f
Some checks failed
ci/woodpecker/pr/flake-lock-update Pipeline is pending
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/push/flake-lock-update Pipeline was successful
ci/woodpecker/pr/checks Pipeline failed
ci/woodpecker/cron/flake-lock-update Pipeline is pending
ci/woodpecker/cron/checks Pipeline is running
ci/woodpecker/manual/flake-lock-update Pipeline is pending
ci/woodpecker/manual/checks Pipeline failed
19 lines
615 B
YAML
19 lines
615 B
YAML
steps:
|
|
check:
|
|
image: nixos/nix
|
|
when:
|
|
- path:
|
|
include: ['*.nix']
|
|
exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu']
|
|
commands:
|
|
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
|
- nix flake check
|
|
fmt:
|
|
image: nixos/nix
|
|
when:
|
|
- path:
|
|
include: ['*.nix']
|
|
exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu']
|
|
commands:
|
|
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
|
- nix run nixpkgs#alejandra -- -c .
|