]> source.dussan.org Git - gitea.git/commitdiff
Always run fmt check in CI (#2546)
authorEthan Koenig <ethantkoenig@gmail.com>
Thu, 21 Sep 2017 01:34:32 +0000 (18:34 -0700)
committerLunny Xiao <xiaolunwen@gmail.com>
Thu, 21 Sep 2017 01:34:32 +0000 (09:34 +0800)
.drone.yml
Makefile

index 38b5ddf87faa2e1e0ca5845787505c9a163efb54..056897cbc7e89a78d52fd13249d9a970a6ccfc90 100644 (file)
@@ -20,6 +20,7 @@ pipeline:
       - make generate
       - make vet
       - make lint
+      - make fmt-check
       - make stylesheets-check
       - make misspell-check
       - make test-vendor
index 32b48c6605fd1a9345f84cbdbcc3d1940af0af1d..2fbd3e4e7fa3d08338a7097c0d60aa4c7a11b0cf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ fmt-check:
        fi;
 
 .PHONY: test
-test: fmt-check
+test:
        $(GO) test $(PACKAGES)
 
 .PHONY: coverage