Fix ruby cache invalidation
Also, add a GitHub Action which builds the docs and run the validator script.