diff options
author | Joe Chen <jc@unknwon.io> | 2022-06-04 14:40:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 14:40:21 +0800 |
commit | 64e09476c7993ded9b9881eac9e2419a471b6310 (patch) | |
tree | cb24512fe2a6c8afc86d94dc03b6433669c7d22a /.github/workflows | |
parent | 4455cc1244f83a75e1ed665f4f49856744fe5482 (diff) |
ci: check tidiness of "task generate-schemadoc" (#7007)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/go.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 49282e55..3ad1d6f1 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 |