[#1] pre-commit: Use local golangci-lint hook

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2025-01-20 17:26:14 +03:00
parent 7833c3aac5
commit f51c095236
Signed by: dstepanov-yadro
GPG key ID: 237AF1A763293BC0

View file

@ -23,11 +23,6 @@ repos:
hooks:
- id: shellcheck
- repo: https://github.com/golangci/golangci-lint
rev: v1.59.1
hooks:
- id: golangci-lint
- repo: local
hooks:
- id: go-unit-tests
@ -36,3 +31,9 @@ repos:
pass_filenames: false
types: [go]
language: system
- id: golangci-lint
name: golangci-lint check
entry: make lint
pass_filenames: false
types: [go]
language: system