mirror of
https://github.com/hexolan/stocklet.git
synced 2026-12-01 03:09:10 +00:00
ci: add commitlint to lefthook cfg
Signed-off-by: Declan Teevan <dt@hexolan.com>
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
pre-commit:
|
||||
jobs:
|
||||
- name: lint go codebase
|
||||
- name: lint commit msg
|
||||
run: go tool commitlint lint --message=./.git/COMMIT_EDITMSG
|
||||
- name: full lint go codebase
|
||||
run: golangci-lint run
|
||||
- name: lint protobufs
|
||||
run: buf lint
|
||||
|
||||
Reference in New Issue
Block a user