[#608] pre-commit: Fix linter
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 2m41s
DCO action / DCO (pull_request) Successful in 3m33s
Build / Build Components (1.21) (pull_request) Successful in 3m49s
Tests and linters / Staticcheck (pull_request) Successful in 6m18s
Build / Build Components (1.20) (pull_request) Successful in 7m2s
Tests and linters / Lint (pull_request) Successful in 7m38s
Tests and linters / Tests with -race (pull_request) Failing after 9m57s
Tests and linters / Tests (1.20) (pull_request) Successful in 11m11s
Tests and linters / Tests (1.21) (pull_request) Successful in 11m30s

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2023-08-14 15:53:34 +03:00
parent 376f03a445
commit 24da2504a7
2 changed files with 7 additions and 4 deletions

View file

@ -30,10 +30,13 @@ repos:
hooks: hooks:
- id: shellcheck - id: shellcheck
- repo: https://github.com/golangci/golangci-lint - repo: local
rev: v1.52.2
hooks: hooks:
- id: golangci-lint - id: make-lint
name: Run Make Lint
entry: make lint
language: system
pass_filenames: false
- repo: local - repo: local
hooks: hooks: