diff options
author | merge-script <fanquake@gmail.com> | 2024-05-30 12:36:09 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-05-30 12:36:09 +0100 |
commit | 0a7c650fcd322a46dac7239b421046a61a6a5a20 (patch) | |
tree | 4ad39ece548d76e365510eb7fdad3d6bf87970f5 /ci | |
parent | f61ede574c12f1f8ae67f38f15387586719c856f (diff) | |
parent | 4b7d9842691046b01f0c08d69f924ddb62ccc4c6 (diff) | |
download | bitcoin-0a7c650fcd322a46dac7239b421046a61a6a5a20.tar.xz |
Merge bitcoin/bitcoin#30034: ci: add markdown link check job
4b7d9842691046b01f0c08d69f924ddb62ccc4c6 lint: add markdown hyperlink checker (willcl-ark)
Pull request description:
Potential followup to: #30025
This should prevent us reintroducing broken markdown links.
It does not test "online" (external) links, only those within this repo. Both relative and absolute links are parsed successfully if they resolve.
ACKs for top commit:
maflcko:
re-utACK 4b7d9842691046b01f0c08d69f924ddb62ccc4c6
davidgumberg:
reACK https://github.com/bitcoin/bitcoin/commit/4b7d9842691046b01f0c08d69f924ddb62ccc4c6
Tree-SHA512: 9bc40d700b73499c046bb76157bc139f32ec3850f64ef813bbf7f18f9c01a253abe6a857d6f559890165f2bd26e7742c05d86232cd9b8efb33ff85d735f4f095
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/lint/04_install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index 6b12c53f2a..87e3a8fa9b 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -57,3 +57,8 @@ SHELLCHECK_VERSION=v0.8.0 curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | \ tar --xz -xf - --directory /tmp/ mv "/tmp/shellcheck-${SHELLCHECK_VERSION}/shellcheck" /usr/bin/ + +MLC_VERSION=v0.16.3 +MLC_BIN=mlc-x86_64-linux +curl -sL "https://github.com/becheran/mlc/releases/download/${MLC_VERSION}/${MLC_BIN}" -o "/usr/bin/mlc" +chmod +x /usr/bin/mlc |