fix: markfown lint test cicd actions deplpy

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
pull/395/head
Xinwei Xiong(cubxxw) 2 years ago
parent 8c16e156b8
commit a796d060c7

@ -18,7 +18,7 @@ jobs:
uses: docker://dragonflyoss/linter:v0.2.7 uses: docker://dragonflyoss/linter:v0.2.7
with: with:
# validate all links in markdown files excluding vendor folder # validate all links in markdown files excluding vendor folder
args: bash -c "code=0;for mdFile in $(find ./ -name '*.md' | grep -v vendor | grep -v .github); do markdown-link-check -q --config .github/workflows/.mlc_config.json $mdFile; if [ $? -ne 0 ]; then code=1; fi;done; echo $code; exit $code" args: bash -c "code=0;for mdFile in $(find ./ -name '*.md' | grep -v vendor | grep -v .github); do markdown-link-checgok -q --config .github/workflows/.mlc_config.json $mdFile; if [ $? -ne 0 ]; then code=1; fi;done; echo $code; exit $code"
- name: Markdown Lint - name: Markdown Lint
uses: docker://dragonflyoss/linter:v0.2.7 uses: docker://dragonflyoss/linter:v0.2.7

Loading…
Cancel
Save