marcospereira/kotlin-diktat-action
Installs and runs diktat. For details about inputs check https://diktat.saveourtool.com/diktat-cli/#option-summary
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 17, 2025
- License
- Apache 2.0
Pinned Snippet
uses: marcospereira/kotlin-diktat-action@428b9dcb72c71e34924fa9e6c05cfc175d3712b0 # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The diktat version that will be installed. | no | 2.0.0 |
| patterns | A list of files to process by diktat | no | src/main/kotlin |
| config | Specify the location of the YAML configuration file. By default, diktat-analysis.yml in the current directory is used. | no | diktat-analysis.yml |
| reporter | The reporter to use to log errors to output. Value should be one of [checkstyle, html, json, plain, plain_group_by_file, sarif] | no | "" |
| output | Redirect the reporter output to a file. Must be provided when the reporter is provided. | no | "" |
| group-by-file | A flag to group found errors by files. | no | false |
| log-level | Control the log level. Value should be one of [error, warn, info, debug, trace] | no | info |
Outputs
no outputs