unicode check action #1

Closed
paspo wants to merge 28 commits from unicode-check into main
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 26baf86c87 - Show all commits

View File

@ -9,8 +9,12 @@ echo
# considera solo i file che terminano con .md # considera solo i file che terminano con .md
# ogni file viene controllato con markdownlint, con la config comune # ogni file viene controllato con markdownlint, con la config comune
EXIT=0
while read -r LINE; do while read -r LINE; do
echo echo
echo "testing file: $LINE" echo "testing file: $LINE"
markdownlint --config .markdownlint.yaml "$LINE" markdownlint --config .markdownlint.yaml "$LINE" || EXIT=1
done < <(git diff --name-only "$1" "$2" content/ | grep \.md$) done < <(git diff --name-only "$1" "$2" content/ | grep \.md$)
exit ${EXIT}

View File

@ -6,6 +6,5 @@ invalid char: ``
asdasd asdasd
asdaksjdlaj slkas jdlkajs ldkasj lkasj dlkasjdlk ajsldkajs dlkjasklsaj lkaj sldkj lkej lkeajf alsdkjf asldkfj asdaksjdlaj slkas jdlkajs ldkasj lkasj dlkasjdlk ajsldkajs dlkjasklsaj lkaj sldkj lkej lkeajf alsdkjf asldkfj
anche!!! anche!!!