[#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
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:
parent
95ccf46c64
commit
c6789eea71
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