Commit graph

6 commits

Author SHA1 Message Date
Marten Seemann
8a74f01add
githooks: exclude deleted files from checks (#3864) 2023-06-02 03:14:03 -07:00
Marten Seemann
53571b0a26
githooks: add check that go.mod in integrationtests/gomodvendor is tidy (#3750) 2023-04-19 06:05:51 -07:00
Marten Seemann
64f015fab4 only run Ginkgo focus detection in staged files in pre-commit hook
If a change is not staged (and therefore won't be committed), we don't care.
2021-03-19 14:46:21 +08:00
Marten Seemann
a6c767183c only run gofumpt on .go files in pre-commit hook 2021-01-06 10:48:41 +08:00
Marten Seemann
12571e3668 add a pre-commit hook that check that files are properly gofumpt-ed 2021-01-02 18:27:18 +08:00
Marten Seemann
c4789ccb28 add a pre-commit hook that checks that tests are not focussed 2021-01-02 18:02:20 +08:00