Evgenii Stratonikov
afef7b1d94
All checks were successful
Build / Build Components (1.20) (pull_request) Successful in 12m43s
DCO action / DCO (pull_request) Successful in 14m3s
Vulncheck / Vulncheck (pull_request) Successful in 14m38s
Build / Build Components (1.21) (pull_request) Successful in 16m54s
Tests and linters / gopls check (pull_request) Successful in 20m5s
Tests and linters / Staticcheck (pull_request) Successful in 20m33s
Tests and linters / Tests with -race (pull_request) Successful in 21m50s
Tests and linters / Tests (1.21) (pull_request) Successful in 22m1s
Tests and linters / Lint (pull_request) Successful in 22m30s
Tests and linters / Tests (1.20) (pull_request) Successful in 22m27s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
ci:
|
|
autofix_prs: false
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.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.6
|
|
hooks:
|
|
- id: shellcheck
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: make-lint
|
|
name: Run Make Lint
|
|
entry: make lint
|
|
language: system
|
|
pass_filenames: false
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: go-unit-tests
|
|
name: go unit tests
|
|
entry: make test GOFLAGS=''
|
|
pass_filenames: false
|
|
types: [go]
|
|
language: system
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: gofumpt
|
|
name: gofumpt
|
|
entry: make fumpt
|
|
pass_filenames: false
|
|
types: [go]
|
|
language: system
|
|
|
|
- repo: https://github.com/TekWizely/pre-commit-golang
|
|
rev: v1.0.0-rc.1
|
|
hooks:
|
|
- id: go-staticcheck-repo-mod
|
|
- id: go-mod-tidy
|