Closed triallax closed 2 years ago
So the CI check seems to erroneously fail even with no change in the README, and running the same lines locally outputs no error. I have no idea why this is happening.
PS: apologies for the spam due to all my force pushes.
Can we output the diff (by simply calling git diff README.md
, I guess?) after the error message? Maybe it's due to a different pandoc version compared to your local installation?
Your hunch was correct; the CI installs Pandoc 2.5, while I have 2.18 locally. How do you suggest we solve this dilemma (different versions between CI and local installation)?
We could use one of the docker images and pin a specific version of pandoc (e.g. 2.18 for now, which is on https://hub.docker.com/r/pandoc/core/tags)? https://github.com/pandoc/pandoc-action-example#simple-usage
For local use, we could either ask developers to also use that docker image or to install the same version (both are not ideal, but I don't have a better solution right now).
Okay, I got it to work with the Docker image that you linked to.
@sharkdp please merge if this looks good to you.
I made a small edit to the README to test this out.