Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: add linkchecking CI #64

Open
bsipocz opened this issue Oct 17, 2024 · 1 comment
Open

BUG: add linkchecking CI #64

bsipocz opened this issue Oct 17, 2024 · 1 comment
Labels
type: Bug Something isn't working

Comments

@bsipocz
Copy link
Member

bsipocz commented Oct 17, 2024

Someone pointed out a broken link (see #63), so apparently the netlify linkchecker doesn't work.

This came up in the specs repo, but only on the theoretical level, thus I open this issue here as we actually had broken links in this repo.

@bsipocz bsipocz added the type: Bug Something isn't working label Oct 17, 2024
@lagru
Copy link
Member

lagru commented Oct 19, 2024

I've had good success with using lychee to cook up my own non-GitHub CI solution for this:

lychee --dump ${URL}/sitemap.xml | grep "${URL}" | sort > links.txt
cat links.txt
cat links.txt | xargs lychee -v --no-progress --max-concurrency 2 --include-fragments

But they also provide a GitHub action for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants