nikitasavinov / checkstyle-action

Run Java checkstyle with reviewdog in github actions
MIT License
59 stars 36 forks source link

Allow configuring checkstyle version #17

Closed kanapin closed 3 years ago

kanapin commented 4 years ago

Not all checkstyle versions are quite stable. For example, I've recently found that the currently used version 36.2 reports incorrect indentation level (see https://github.com/checkstyle/checkstyle/issues?q=is%3Aissue+is%3Aopen+indentation).

It's also quite confusing when a PR triggers one set of warnings in my repository, but then if the checkstyle version is bumped up in this repository, the action starts reporting different errors.

Would it be possible to add a parameter to configure the checkstyle version to be used?

Thanks