From 129b9b2974850511d606d3d6f25b8f3da5411ff4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 14 Apr 2023 14:10:14 +0800 Subject: [PATCH] Use markdownlint-cli --- .gitea/workflows/lint.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 736ba2d..65b62d4 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -8,8 +8,7 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: install markdown-cli + run: npm install -g markdownlint-cli - name: lint - uses: https://github.com/articulate/actions-markdownlint@v1 - with: - config: .markdownlint.yaml - files: '**/*.md' \ No newline at end of file + run: markdownlint -c .markdownlint.yaml '**/*.md' \ No newline at end of file