saveourtool/Benedi.kt
A GitHub Action to check your code with diKTat
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
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 |