-
Notifications
You must be signed in to change notification settings - Fork 18
Use root-dir instead of base-url in CI #111
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
Use root-dir instead of base-url in CI #111
Conversation
root-dir is the right argument to use to check a directory of local files.
|
The latest CI error is too much for me to fix. It appears to come from lychee, and it appears to happen whenever you have a very big lycheeignore. $ wc -l .lycheeignore
16816 .lycheeignore
$ cargo run -- ads.com
Error: Compiled regex exceeds size limit of 10485760 bytes. |
|
Haha, thanks for thinking so highly of me. 😆 However, the truth is that |
|
@jacobdalamb, any idea on how to fix the CI issue? We just have too many links in the repo now, so the |
|
@mre we could replace the current workflow to check only for new/changed links. |
|
Huh, I thought that's what the current workflow does. It stores all links in The problem is that we have too many links in I believe we could make lychee smarter, but that would take some effort. The alternative is to call |
|
It might be a good idea to merge this first so the base-url flag gets changed. The yml files for this repository are used to generate the actions recipes on the documentation site, so the website is showing a wrong example atm. It would be good to update those as soon as possible. The issues with new/changed links might take longer to fix. |
|
I'm merging this as this is now the intended way of usage. It's really unfortunate that CI fails, but that's already the case even without this PR. For example see: #114 Creating a PR before merging this resulted in: For the regex error I've opened a new issue. |
root-dir is the right argument to use to check a directory of local files.