From e4b9318de358068a6096b394e39e3ed8f3123835 Mon Sep 17 00:00:00 2001 From: Kevin Klues Date: Fri, 24 Jul 2020 12:49:33 +0000 Subject: [PATCH] Only run gofmt over go files under pkg/ in CI Signed-off-by: Kevin Klues --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index abe4f11d..681880b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,7 +52,7 @@ fmt: <<: *tests-setup stage: tests script: - - res=$(gofmt -l *.go) + - res=$(gofmt -l pkg/*.go) - echo "$res" - test -z "$res"