diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e51210..35769c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,15 @@ repos: - id: end-of-file-fixer exclude: ".key$" + - repo: local + hooks: + - id: go-unit-tests + name: go unit tests + entry: make test GOFLAGS='' + pass_filenames: false + types: [go] + language: system + - repo: https://github.com/golangci/golangci-lint rev: v1.56.2 hooks: