2024-03-27 23:07:11 +01:00
|
|
|
ci:
|
2024-03-27 23:07:39 +01:00
|
|
|
skip: [golangci-lint-full, go-test]
|
2024-03-27 23:07:11 +01:00
|
|
|
|
2024-03-27 22:01:18 +01:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-04-09 01:04:56 +02:00
|
|
|
rev: v4.6.0
|
2024-03-27 22:01:18 +01:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
2024-05-20 23:54:23 +02:00
|
|
|
rev: v1.58.2
|
2024-03-27 22:01:18 +01:00
|
|
|
hooks:
|
|
|
|
- id: golangci-lint-full
|
2024-03-27 22:59:32 +01:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: go-test
|
|
|
|
name: go test ./...
|
|
|
|
language: golang
|
|
|
|
types_or: [go]
|
|
|
|
entry: make test
|