test: add lefthook as git hook
This commit is contained in:
parent
818952d910
commit
2c29a52d74
1 changed files with 14 additions and 0 deletions
14
lefthook.yaml
Normal file
14
lefthook.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
skip_output: [meta, success]
|
||||||
|
no_tty: true
|
||||||
|
|
||||||
|
commit-msg:
|
||||||
|
commands:
|
||||||
|
lint:commitmsg:
|
||||||
|
run: cat {1} | convco check --from-stdin
|
||||||
|
pre-push:
|
||||||
|
parallel: false
|
||||||
|
commands:
|
||||||
|
check:nix:
|
||||||
|
tags: check
|
||||||
|
run: nix flake check
|
Loading…
Add table
Add a link
Reference in a new issue