mirror of
https://github.com/hexolan/stocklet.git
synced 2026-12-01 03:09:10 +00:00
fix(ci): remove 'heavier' golangci-lint from hooks flow
To be held in a separate, independent `workflows` run. Signed-off-by: Declan Teevan <dt@hexolan.com>
This commit is contained in:
+5
-3
@@ -1,8 +1,10 @@
|
|||||||
pre-commit:
|
pre-commit:
|
||||||
jobs:
|
jobs:
|
||||||
- name: lint commit msg
|
- name: lint commit msg
|
||||||
run: go tool commitlint lint --message=./.git/COMMIT_EDITMSG
|
run: go tool commitlint lint
|
||||||
- name: full lint go codebase
|
# TODO: move to a workflow run (only perform lighter `go fmt` checking)
|
||||||
run: golangci-lint run
|
# ideally only against checked-in files.
|
||||||
|
#- name: full lint go codebase
|
||||||
|
# run: golangci-lint run
|
||||||
- name: lint protobufs
|
- name: lint protobufs
|
||||||
run: buf lint
|
run: buf lint
|
||||||
|
|||||||
Reference in New Issue
Block a user