aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-07 16:55:16 +0000
committerNick Mathewson <nickm@torproject.org>2023-11-07 16:55:16 +0000
commitcb7c8e6faaff71c77239cf51d8b7ed5061a99663 (patch)
tree03ade02ccff6b32b92a2209394f3d130634e066b /.gitlab-ci.yml
parent0ce2e4099a8f91f90b6da2bf43049abcb8763149 (diff)
parent6ed053a4ce491495b1dda7106f22bb1949c70ebc (diff)
downloadtorspec-cb7c8e6faaff71c77239cf51d8b7ed5061a99663.tar.gz
torspec-cb7c8e6faaff71c77239cf51d8b7ed5061a99663.zip
Merge branch 'linklint' into 'main'
Fix broken links and check in CI that we don't introduce new ones Closes #238 See merge request tpo/core/torspec!194
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b82c3c..95a4783 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,17 @@ build:
paths:
- cache
+link-check:
+ image: rust:bookworm
+ script:
+ - cargo install mdbook
+ - apt-get update && apt-get install -y git python3 python3-yaml linklint
+ - ./bin/build_html
+ - ./bin/check_links
+ artifacts:
+ paths:
+ - html.link-check
+
include:
project: tpo/tpa/ci-templates
file: