ci: readd checks
This commit is contained in:
parent
7ee9c99238
commit
30c11458b1
1 changed files with 15 additions and 0 deletions
15
.woodpecker/checks.yml
Normal file
15
.woodpecker/checks.yml
Normal 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']
|
Loading…
Reference in a new issue