actions-marketplace-validations/Benedi.kt
A GitHub Action to check your code with diKTat
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 18, 2023
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/saveourtool_benedikt@c4c0efe46e6857505186c82c9e5beeb0412bc6ce # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| config | 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, one of: "sarif" (the default) or "checkstyle". | no | sarif |
| input-paths | One or more patterns which indicate the files or directories to check. Use a multiline string to specify multiple inputs. If an input is a path to a file, it is passed to diKTat as-is. If an input is a path to a directory, the directory is recursively traversed, and all *.kt and *.kts files are passed to diKTat. If an input is an Ant-like path pattern (such as "**/*.kt"), diKTat expands it into the list of files that match the path pattern. Path patterns may be negated, e. g.: "!src/**/*Test.kt" or "!src/**/generated/**". | no | — |
| java-distribution | The Java distribution. See the list of supported distributions at <https://github.com/actions/setup-java/blob/main/README.md#supported-distributions>. The default is "temurin". Note that setting just this property in order to use a custom JDK is not sufficient: please set "java-version", too. | no | temurin |
| java-version | The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax at <https://github.com/actions/setup-java/blob/main/README.md#supported-version-syntax>. | no | — |
| debug | Whether debug logging should be enabled | no | ${{ false }} |
| fail-on-error | Whether linter errors are considered fatal (the default is true) | no | ${{ true }} |
Outputs
| name | description |
|---|---|
| exit-code | The exit code of diKTat |