marcospereira/kotlin-diktat-action

Installs and runs diktat. For details about inputs check https://diktat.saveourtool.com/diktat-cli/#option-summary

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 17, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: marcospereira/kotlin-diktat-action@428b9dcb72c71e34924fa9e6c05cfc175d3712b0 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionThe diktat version that will be installed.no2.0.0
patternsA list of files to process by diktatnosrc/main/kotlin
configSpecify the location of the YAML configuration file. By default, diktat-analysis.yml in the current directory is used.nodiktat-analysis.yml
reporterThe reporter to use to log errors to output. Value should be one of [checkstyle, html, json, plain, plain_group_by_file, sarif]no""
outputRedirect the reporter output to a file. Must be provided when the reporter is provided.no""
group-by-fileA flag to group found errors by files.nofalse
log-levelControl the log level. Value should be one of [error, warn, info, debug, trace]noinfo

no outputs