-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Github actions does not seem to use cached links #664
Comments
@lsolesen, this has to do with the way As you can see from the log:
Indeed, by definition, the cache is not saved for hits on the primary key, since the idea is that the primary key uniquely defines what is being cached. See also actions/cache#171, actions/cache#481, actions/cache#628 This is unfortunately not easy with HTMLProofer, unless it would expose the functionality to just return the links to be checked (and cached) without really checking them. This information could be used to compute a hash used in the primary key. Now, for your specific case, you have two options
|
I have a Github action which I tried setting up as specified in the docs. However, it seems that the check takes just as long time with htmlproofer with and without cache. I am wondering, if there is something specific which also needs to be done?
Full Github Action is here: https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/.github/workflows/deploy.yml
I have an older build here: https://github.com/motionsplan/motionsplan-dk-jekyll/runs/4337656916?check_suite_focus=true
And a recent one here showing almost the same number of links added to the cache: https://github.com/motionsplan/motionsplan-dk-jekyll/runs/4339790656?check_suite_focus=true#step:12:12
The text was updated successfully, but these errors were encountered: