[#1] pre-commit: Use local golangci-lint hook
All checks were successful
DCO action / DCO (pull_request) Successful in 28s
Tests and linters / Run gofumpt (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 31s
Tests and linters / Staticcheck (pull_request) Successful in 40s
Tests and linters / Lint (pull_request) Successful in 1m4s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m12s
Tests and linters / Tests (pull_request) Successful in 1m18s
Tests and linters / Tests with -race (pull_request) Successful in 1m19s
Tests and linters / gopls check (pull_request) Successful in 1m24s

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 95ccf46c64
commit c6789eea71
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