Skip to content

Commit

Permalink
switch lint bug
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Nov 21, 2024
1 parent ec85960 commit 3ece301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build-bin/configure_lint
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
3 changes: 1 addition & 2 deletions build-bin/lint
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

0 comments on commit 3ece301

Please sign in to comment.