All checks were successful
DCO action / DCO (pull_request) Successful in 29s
Vulncheck / Vulncheck (pull_request) Successful in 37s
Tests and linters / Run gofumpt (pull_request) Successful in 52s
Tests and linters / Tests with -race (pull_request) Successful in 1m9s
Tests and linters / Staticcheck (pull_request) Successful in 1m10s
Tests and linters / Tests (pull_request) Successful in 1m20s
Tests and linters / Lint (pull_request) Successful in 1m25s
Tests and linters / gopls check (pull_request) Successful in 1m22s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m28s
Vulncheck / Vulncheck (push) Successful in 36s
Tests and linters / Run gofumpt (push) Successful in 55s
Tests and linters / Lint (push) Successful in 1m13s
Tests and linters / gopls check (push) Successful in 1m12s
Pre-commit hooks / Pre-commit (push) Successful in 1m23s
Tests and linters / Staticcheck (push) Successful in 1m20s
Tests and linters / Tests (push) Successful in 1m23s
Tests and linters / Tests with -race (push) Successful in 1m31s
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
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: local
|
|
hooks:
|
|
- id: go-unit-tests
|
|
name: go unit tests
|
|
entry: make test GOFLAGS=''
|
|
pass_filenames: false
|
|
types: [go]
|
|
language: system
|
|
- id: golangci-lint
|
|
name: golangci-lint check
|
|
entry: make lint
|
|
pass_filenames: false
|
|
types: [go]
|
|
language: system
|
|
- id: gofumpt
|
|
name: gofumpt check
|
|
entry: make fumpt
|
|
pass_filenames: false
|
|
types: [go]
|
|
language: system
|