diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e280d1..ae8e735 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,6 +30,9 @@ jobs: - name: Lint run: | make lint-all + - name: Format + run: | + make test-format-all - name: Test run: | make test-all diff --git a/Makefile b/Makefile index a10eca1..52b4888 100644 --- a/Makefile +++ b/Makefile @@ -62,3 +62,6 @@ vet-cmd: @go vet ./cmd/watch.go vet-all: vet-watcher vet-event vet-utils vet-cmd + +test-format-all: + @gofmt -l -d .