Browse Source

github: add markdownlint

Victor Seva 1 năm trước cách đây
mục cha
commit
358a6f3021
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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)
       contents: read # to fetch code (actions/checkout)
     steps:
     steps:
       - uses: actions/checkout@v4
       - uses: actions/checkout@v4
+      - uses: DavidAnson/markdownlint-cli2-action@v15
+        with:
+          globs: |
+            README.md
+            docs/**/*.md
+            !fmt/
       - name: Build
       - name: Build
         uses: Tiryoh/actions-mkdocs@v0
         uses: Tiryoh/actions-mkdocs@v0
         with:
         with: