This commit is contained in:
parent
1034682278
commit
60ef82602e
2 changed files with 5 additions and 16 deletions
|
@ -1,15 +0,0 @@
|
|||
when:
|
||||
- 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 .
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
branch: flake-lock-update
|
||||
when:
|
||||
- event: cron
|
||||
cron: flake-lock-update
|
||||
|
|
Loading…
Reference in a new issue