-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
1 parent
ec85960
commit 3ece301
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/sh -ue | ||
|
||
# Attempt to install markdown-link-check if absent | ||
markdown-link-check -V || npm install -g markdown-link-check | ||
# Pinned until https://github.com/tcort/markdown-link-check/issues/369 | ||
markdown-link-check -V || npm install -g [email protected] | ||
|
||
# Attempt to install yamllint if absent | ||
yamllint -v || pip install --user yamllint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/sh -ue | ||
|
||
yamllint --format github .github/workflows/*.yml | ||
# || true to work around https://github.com/tcort/markdown-link-check/issues/377 | ||
find . -name \*.md |grep -v node|xargs markdown-link-check -c ./build-bin/mlc_config.json || true | ||
find . -name \*.md |grep -v node|xargs markdown-link-check -c ./build-bin/mlc_config.json |