From 64e09476c7993ded9b9881eac9e2419a471b6310 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sat, 4 Jun 2022 14:40:21 +0800 Subject: [PATCH] ci: check tidiness of "task generate-schemadoc" (#7007) --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 49282e552..3ad1d6f10 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -43,11 +43,12 @@ jobs: run: | go mod tidy task generate + task generate-schemadoc STATUS=$(git status --porcelain) if [ ! -z "$STATUS" ]; then echo "Unstaged files:" echo $STATUS - echo "Run 'go mod tidy' or 'task generate' and commit them" + echo "Run 'go mod tidy', 'task generate' or 'task generate-schemadoc' and commit them" exit 1 fi