frostfs-qos/.pre-commit-config.yaml
Dmitrii Stepanov eca6765dda
Some checks failed
Tests and linters / Lint (push) Failing after 11s
Tests and linters / Tests (push) Failing after 11s
Tests and linters / Staticcheck (push) Failing after 13s
Tests and linters / Run gofumpt (push) Failing after 13s
Tests and linters / Tests with -race (push) Failing after 16s
Tests and linters / gopls check (push) Failing after 16s
Vulncheck / Vulncheck (push) Successful in 32s
Pre-commit hooks / Pre-commit (push) Successful in 49s
Initial commit
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-01-20 16:02:19 +03:00

38 lines
902 B
YAML

ci:
autofix_prs: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
exclude: ".key$"
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
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
name: go unit tests
entry: make test GOFLAGS=''
pass_filenames: false
types: [go]
language: system