[#1] pre-commit: Use local golangci-lint hook
All checks were successful
DCO action / DCO (pull_request) Successful in 30s
Tests and linters / Run gofumpt (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 37s
Tests and linters / Staticcheck (pull_request) Successful in 43s
Tests and linters / Lint (pull_request) Successful in 1m2s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m12s
Tests and linters / Tests (pull_request) Successful in 1m16s
Tests and linters / Tests with -race (pull_request) Successful in 1m18s
Tests and linters / gopls check (pull_request) Successful in 1m27s
All checks were successful
DCO action / DCO (pull_request) Successful in 30s
Tests and linters / Run gofumpt (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 37s
Tests and linters / Staticcheck (pull_request) Successful in 43s
Tests and linters / Lint (pull_request) Successful in 1m2s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m12s
Tests and linters / Tests (pull_request) Successful in 1m16s
Tests and linters / Tests with -race (pull_request) Successful in 1m18s
Tests and linters / gopls check (pull_request) Successful in 1m27s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6f6e1aec63
commit
0edfa036a5
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue