about summary refs log tree commit diff
path: root/src/tools/clippy/.github/workflows
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2023-05-05 17:45:49 +0200
committerPhilipp Krones <hello@philkrones.com>2023-05-05 17:45:49 +0200
commit4cb05193fbbeee19c8448bf3c83d47e2e8915a4e (patch)
tree71917418e90ed12f35ddb3e407c28392e3b2c437 /src/tools/clippy/.github/workflows
parentdd9a7bf848e412c81e3045245acbd5a01641a610 (diff)
parent371120bdbf58a331db5dcfb2d9cddc040f486de8 (diff)
downloadrust-4cb05193fbbeee19c8448bf3c83d47e2e8915a4e.tar.gz
rust-4cb05193fbbeee19c8448bf3c83d47e2e8915a4e.zip
Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup
Diffstat (limited to 'src/tools/clippy/.github/workflows')
-rw-r--r--src/tools/clippy/.github/workflows/remark.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/clippy/.github/workflows/remark.yml b/src/tools/clippy/.github/workflows/remark.yml
index 116058b7c75..0bc2f49f5e9 100644
--- a/src/tools/clippy/.github/workflows/remark.yml
+++ b/src/tools/clippy/.github/workflows/remark.yml
@@ -36,6 +36,12 @@ jobs:
     - name: Check *.md files
       run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
 
+    - name: Linkcheck book
+      run: |
+        rustup toolchain install nightly --component rust-docs
+        curl https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh -o linkcheck.sh
+        sh linkcheck.sh clippy --path ./book
+        
     - name: Build mdbook
       run: mdbook build book