瀏覽代碼

github: add markdownlint

Victor Seva 1 年之前
父節點
當前提交
358a6f3021
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .github/workflows/build.yml

+ 6 - 0
.github/workflows/build.yml

@@ -16,6 +16,12 @@ jobs:
       contents: read # to fetch code (actions/checkout)
     steps:
       - uses: actions/checkout@v4
+      - uses: DavidAnson/markdownlint-cli2-action@v15
+        with:
+          globs: |
+            README.md
+            docs/**/*.md
+            !fmt/
       - name: Build
         uses: Tiryoh/actions-mkdocs@v0
         with: