ci: readd checks
Some checks failed
ci/woodpecker/push/flake-lock-update Pipeline is pending
ci/woodpecker/pr/flake-lock-update Pipeline is pending
ci/woodpecker/push/checks Pipeline failed
ci/woodpecker/pr/checks Pipeline failed

This commit is contained in:
notohh 2024-01-23 17:04:32 -05:00
parent 7ee9c99238
commit 30c11458b1
Signed by: notohh
GPG key ID: BD47506D475EE86D

15
.woodpecker/checks.yml Normal file
View file

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