[feat]parallel ci (#3523)

Co-authored-by: Calvin <zhengqiwei@apache.org>
This commit is contained in:
aias00
2025-06-30 00:04:10 +08:00
committed by GitHub
co-authored by Calvin
parent a1439c3ec2
commit 998f9059bc
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -49,11 +49,9 @@ jobs:
- name: Dead Link Check
run: |
sudo npm install -g markdown-link-check@3.8.7
for file in $(find ./home -name "*.md"); do
if ! grep -Fxq "$file" ./script/ci/exclude_files.txt; then
markdown-link-check -c ./script/ci/link_check.json -q "$file"
fi
done
find ./home -name "*.md" > all_md_files.txt
grep -vFf ./script/ci/exclude_files.txt all_md_files.txt > to_check.txt
xargs -P 8 -a to_check.txt -I{} markdown-link-check -c ./script/ci/link_check.json -q "{}"
- name: NPM INSTALL
working-directory: home