From a275b6db1765a91be4900812ca7d32426cda66c1 Mon Sep 17 00:00:00 2001 From: Declan Teevan Date: Thu, 19 Nov 2026 06:06:40 +0000 Subject: [PATCH] ci: switch to `lefthook` for hook management Improvements to be made for linting flows (no longer formatting); additionally, `buf` configuration is pending upgrading to the newer version 2 variants. Signed-off-by: Declan Teevan --- lefthook.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lefthook.yaml diff --git a/lefthook.yaml b/lefthook.yaml new file mode 100644 index 0000000..8a2088c --- /dev/null +++ b/lefthook.yaml @@ -0,0 +1,6 @@ +pre-commit: + jobs: + - name: lint codebase + run: gofmt -e . + - name: lint protobufs + run: buf lint