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-10-08 03:08:51 +02:00
|
|
|
rev: v5.0.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-11-26 00:25:59 +01:00
|
|
|
rev: v1.62.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
|