ibiqlik / action-yamllint

GitHub Action - Yaml Lint
MIT License
94 stars 40 forks source link

Specifying yamllint version as input #39

Closed paulo-ferraz-oliveira closed 1 year ago

paulo-ferraz-oliveira commented 1 year ago

At the moment, it seems the yamllint version is picked by pip (>=1.25.0).

Would you find is acceptable to add an input such as version to the action's arguments so we could make sure CI is as predictable as possible (?)

I could try and pull request for it, if the answer is "Yes."

Thanks.

paulo-ferraz-oliveira commented 1 year ago

I fear this is not a good option, mostly because it seems the yamllint tool isn't being fetched in runtime, but rather compile time, so you'd have to provide all previous versions alongside it for this to be feasible. 😄 Closing...