ci: Move lychee link check to script/check-links (#32460)

Follow-up to: https://github.com/zed-industries/zed/pull/30844

Transient link failure was blocking PR tests passing. [Example
run](https://github.com/zed-industries/zed/actions/runs/15560960788/job/43812878693?pr=32458).

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-06-10 10:11:24 -04:00 committed by GitHub
parent c1a4a24bce
commit 46f98b6001
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 7 deletions

View file

@ -19,12 +19,6 @@ runs:
shell: bash -euxo pipefail {0} shell: bash -euxo pipefail {0}
run: ./script/linux run: ./script/linux
- name: Check for broken links
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
with:
args: --no-progress './docs/src/**/*'
fail: true
- name: Build book - name: Build book
shell: bash -euxo pipefail {0} shell: bash -euxo pipefail {0}
run: | run: |

View file

@ -25,7 +25,7 @@ Here's an overview of the supported providers and tool call support:
## Use Your Own Keys {#use-your-own-keys} ## Use Your Own Keys {#use-your-own-keys}
While Zed offers hosted versions of models through [our various plans](/ai/plans-and-usage), we're always happy to support users wanting to supply their own API keys. While Zed offers hosted versions of models through [our various plans](./plans-and-usage.md), we're always happy to support users wanting to supply their own API keys.
Below, you can learn how to do that for each provider. Below, you can learn how to do that for each provider.
> Using your own API keys is _free_—you do not need to subscribe to a Zed plan to use our AI features with your own keys. > Using your own API keys is _free_—you do not need to subscribe to a Zed plan to use our AI features with your own keys.

7
script/check-links Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cargo install lychee
cd "$(dirname "$0")/.."
lychee --no-progress './docs/src/**/*'