diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c498fce..0c5b130 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,15 @@ repos: - id: end-of-file-fixer exclude: "(.key|.interp|.tokens)$" + - 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: make-lint