aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-check-only.yml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-17 05:30:05 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-17 05:30:05 +0800
commitef23cd944402939605c78a4a853ef6e33af02c21 (patch)
treea6fd2941a2c5b4af7e3ea89c7f70d2fd29ee9523 /.github/workflows/ci-check-only.yml
parent7b901b44cab92b15a673a801de6785c309b73ddd (diff)
feat(ci): add translated docs structure consistency check
Add a new CI check that verifies translated docs directories mirror the English reference structure, comparing structural signatures of markdown files including headings, code fences, and list types.
Diffstat (limited to '.github/workflows/ci-check-only.yml')
-rw-r--r--.github/workflows/ci-check-only.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci-check-only.yml b/.github/workflows/ci-check-only.yml
index 42c2e35..0519310 100644
--- a/.github/workflows/ci-check-only.yml
+++ b/.github/workflows/ci-check-only.yml
@@ -29,6 +29,10 @@ jobs:
- run: cargo ci --check-${{ matrix.item }}
+ - name: Check translated docs structure consistency
+ if: matrix.item == 'markdown-code'
+ run: cargo ci --check-docs-structure
+
- name: Upload docs test result on failure
if: failure() && matrix.item == 'markdown-code'
uses: actions/upload-artifact@v4