@@ -133,7 +133,7 @@ jobs:
133133 echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV
134134
135135 - name : Download cuda-python build artifacts
136- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
136+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
137137 with :
138138 name : cuda-python-wheel
139139 path : .
@@ -146,7 +146,7 @@ jobs:
146146 ls -lahR .
147147
148148 - name : Download cuda-pathfinder build artifacts
149- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
149+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
150150 with :
151151 name : cuda-pathfinder-wheel
152152 path : ./cuda_pathfinder
@@ -160,14 +160,14 @@ jobs:
160160
161161 - name : Download cuda.bindings build artifacts
162162 if : ${{ !inputs.is-release }}
163- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
163+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
164164 with :
165165 name : ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
166166 path : ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
167167
168168 - name : Download cuda.bindings build artifacts
169169 if : ${{ inputs.is-release }}
170- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
170+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
171171 with :
172172 pattern : ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
173173 merge-multiple : true
@@ -182,14 +182,14 @@ jobs:
182182
183183 - name : Download cuda.core build artifacts
184184 if : ${{ !inputs.is-release }}
185- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
185+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
186186 with :
187187 name : ${{ env.CUDA_CORE_ARTIFACT_NAME }}
188188 path : ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
189189
190190 - name : Download cuda.core build artifacts
191191 if : ${{ inputs.is-release }}
192- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
192+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
193193 with :
194194 pattern : ${{ env.CUDA_CORE_ARTIFACT_NAME }}
195195 merge-multiple : true
@@ -284,58 +284,21 @@ jobs:
284284 fi
285285 mv ${COMPONENT}/docs/build/html/* artifacts/docs/${TARGET}
286286
287- - name : Write rendered docs file list
287+ # Keep link checks in the existing PR docs build, using the same revision
288+ # as its wheels. Nightly supplies shared caches for both kinds of inputs.
289+ - name : Check authored documentation links
288290 if : ${{ !inputs.is-release && startsWith(github.ref_name, 'pull-request/') }}
289- run : |
290- find "${GITHUB_WORKSPACE}/artifacts/docs" -type f -name '*.html' ! -path '*/_static/*' \
291- | LC_ALL=C sort > lychee-rendered-html-files.txt
292- if [[ ! -s lychee-rendered-html-files.txt ]]; then
293- echo "error: no rendered HTML pages found for lychee" >&2
294- exit 1
295- fi
296- wc -l lychee-rendered-html-files.txt
297-
298- - name : Restore lychee cache
299- if : ${{ !inputs.is-release && startsWith(github.ref_name, 'pull-request/') }}
300- id : restore-lychee-cache
301- uses : actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
291+ timeout-minutes : 60
292+ uses : ./.github/actions/check-doc-links
302293 with :
303- path : .lycheecache
304- key : docs-rendered-lychee-${{ env.PR_NUMBER }}-${{ github.sha }}
305- restore-keys : |
306- docs-rendered-lychee-${{ env.PR_NUMBER }}-
294+ kind : authored
307295
308- - name : Check rendered docs links
296+ - name : Check rendered documentation links
309297 if : ${{ !inputs.is-release && startsWith(github.ref_name, 'pull-request/') }}
310- uses : lycheeverse/lychee-action@6da1d14f3a43098a294b7696d93d938aa8d20fc0 # unreleased: supports v0.24.x archive layout
311- with :
312- args : >-
313- --files-from ${{ github.workspace }}/lychee-rendered-html-files.txt
314- --include-fragments=full
315- --cache
316- --max-cache-age 1d
317- --max-concurrency 16
318- --host-concurrency 2
319- --host-request-interval 250ms
320- --max-retries 3
321- --retry-wait-time 5
322- --timeout 30
323- --no-progress
324- --config ${{ github.workspace }}/lychee.toml
325- fail : true
326- failIfEmpty : true
327- format : markdown
328- jobSummary : false
329- lycheeVersion : v0.24.2
330- output : lychee-rendered-html.md
331- token : ${{ github.token }}
332-
333- - name : Save lychee cache
334- if : ${{ always() && !inputs.is-release && startsWith(github.ref_name, 'pull-request/') && steps.restore-lychee-cache.outputs.cache-hit != 'true' && steps.restore-lychee-cache.outputs.cache-primary-key != '' }}
335- uses : actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
298+ timeout-minutes : 60
299+ uses : ./.github/actions/check-doc-links
336300 with :
337- path : .lycheecache
338- key : ${{ steps.restore-lychee-cache.outputs.cache-primary-key }}
301+ kind : rendered
339302
340303 - name : Upload docs GitHub Pages artifact
341304 if : ${{ inputs.deploy-docs }}
@@ -346,7 +309,7 @@ jobs:
346309
347310 - name : Upload docs deployment payload
348311 if : ${{ inputs.deploy-docs }}
349- uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
312+ uses : actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
350313 with :
351314 name : ${{ steps.deployment-metadata.outputs.deployment-artifact-name }}
352315 path : artifacts/docs/
@@ -356,7 +319,7 @@ jobs:
356319
357320 - name : Upload dry-run docs artifact
358321 if : ${{ !inputs.deploy-docs || (inputs.is-release && inputs.docs-branch != 'gh-pages') }}
359- uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
322+ uses : actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
360323 with :
361324 name : release-docs-dry-run-${{ inputs.component }}-${{ inputs.git-tag }}
362325 path : artifacts/docs/
@@ -385,7 +348,7 @@ jobs:
385348 ref : ${{ inputs.git-tag }}
386349
387350 - name : Download docs deployment payload
388- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
351+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
389352 with :
390353 name : ${{ needs.build.outputs.deployment-artifact-name }}
391354 path : artifacts/docs/
0 commit comments