about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/.github
diff options
context:
space:
mode:
authorMartin Liska <martin.liska@hey.com>2025-01-08 17:06:15 +0100
committerMartin Liska <martin.liska@hey.com>2025-01-08 17:07:08 +0100
commit1ffe0eabf7a72c73fa41793dfd6748fb06c2231b (patch)
treeb83b743b6f9fa76138f8b5854e8bc546b8405121 /src/doc/rustc-dev-guide/.github
parent9577119d1987289ba1291d79527e2b866c98eb55 (diff)
downloadrust-1ffe0eabf7a72c73fa41793dfd6748fb06c2231b.tar.gz
rust-1ffe0eabf7a72c73fa41793dfd6748fb06c2231b.zip
Update key
Diffstat (limited to 'src/doc/rustc-dev-guide/.github')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/ci.yml b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
index 1b5c41417cd..3c45ad16488 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
@@ -41,7 +41,7 @@ jobs:
         uses: actions/cache/restore@v4
         with:
           path: book/linkcheck/cache.json
-          key: linkcheck
+          key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}
 
       - name: Install latest nightly Rust toolchain
         if: steps.mdbook-cache.outputs.cache-hit != 'true'
@@ -58,7 +58,7 @@ jobs:
           cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}
 
       - name: Check build
-        run: mdbook build
+        run: ENABLE_LINKCHECK=1 mdbook build
         continue-on-error: true
 
       - name: Save cached Linkcheck
@@ -67,7 +67,7 @@ jobs:
         uses: actions/cache/save@v4
         with:
           path: book/linkcheck/cache.json
-          key: linkcheck
+          key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}
 
       - name: Deploy to gh-pages
         if: github.event_name == 'push'