From 9efaab2bebe97c7c5b5e7285ec0e2a295d0e4eba Mon Sep 17 00:00:00 2001 From: Anton Ovchinnikov Date: Tue, 30 Dec 2025 01:22:14 +0100 Subject: [PATCH] build: Generate CLI docs in GHA --- .github/workflows/go-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index aed6bb34..84190f0d 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -36,6 +36,12 @@ jobs: git diff --exit-code || (echo "go.mod or go.sum has changed. Please run 'go mod tidy' and commit the changes." && exit 1) + - name: Generate docs + run: | + make cli-docs + git diff --exit-code || + (echo "Documentation is out of date. Please run 'make cli-docs' and commit the changes." && exit 1) + - name: Run tests run: | make ucind-image