actungs/Detekt Composite Action
GitHub action for setting up and run detekt, a static code analysis for Kotlin.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- MIT
Pinned Snippet
uses: actungs/detekt-composite-action@49c38ce825ab67a74f21c3de9390af268c92c086 # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| detekt_version | Version of detekt to be used. If the default `latest` is used, the action will fetch the latest detekt's release version via GitHub API. | no | latest |
| java_version | Version of Java to be used to run detekt. | no | 24 |
| java_distribution | Distribution of Java to be used. See https://github.com/actions/setup-java#supported-distributions for a list of supported distribution. | no | temurin |
| with_formatting_plugin | Whether to run detekt with the formatting plugin. The plugin is required if `formatting` is used in your configuration and detekt version >= `1.20.0` is to be used. | no | true |
| extra_arguments | Additional arguments to run detekt with. See https://detekt.dev/docs/gettingstarted/cli/ for a list of available arguments. | no | --build-upon-default-config |
| output_format | Report file format to be outputted after the action finished. | no | md |
Outputs
| name | description |
|---|---|
| report | Detekt report file in Markdown format. |