From 238235856b41b5fda646b65749e340b606f71c0a Mon Sep 17 00:00:00 2001 From: ozline Date: Tue, 8 Oct 2024 22:19:21 +0800 Subject: [PATCH] fix: ci-fmt use inappropriate target --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 82b4436..a5b1825 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,8 +31,8 @@ jobs: run: | echo "refer to https://github.com/mvdan/gofumpt for detailed info" && GO111MODULE=on go install mvdan.cc/gofumpt@v0.4.0 && - make fmt-strict && git add pkg cmd && - git diff --cached --exit-code || (echo 'Please run "make fmt-strict" to verify fmt' && exit 1); + make fmt && git add pkg cmd && + git diff --cached --exit-code || (echo 'Please run "make fmt" to verify fmt' && exit 1); vet: name: Vet