From 93a6fdc07f8858c010d7c085d9ba8d8bdcdee872 Mon Sep 17 00:00:00 2001 From: Daniel Banck Date: Tue, 1 Mar 2022 16:05:22 +0100 Subject: [PATCH 1/2] run go fmt in github actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9454d060..6446ee410 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: run: go mod verify - name: Run go fmt - run: make fmt + run: go run github.com/mh-cbon/go-fmt-fail ./... - name: Run tests run: go test -cover -covermode=atomic -timeout=5m -race ./... From 2450fde75eb3aecbc408aa27315441b60367b692 Mon Sep 17 00:00:00 2001 From: Daniel Banck Date: Tue, 1 Mar 2022 16:05:36 +0100 Subject: [PATCH 2/2] remove now unused makefile --- Makefile | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 3a088caac..000000000 --- a/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -fmt: - go run github.com/mh-cbon/go-fmt-fail ./... - -.PHONY: fmt