https://github.com/natiginfo/action-detekt-all
Run detekt for all files
https://github.com/natiginfo/action-detekt-all
android detekt github-actions kotlin
Last synced: 9 months ago
JSON representation
Run detekt for all files
- Host: GitHub
- URL: https://github.com/natiginfo/action-detekt-all
- Owner: natiginfo
- License: apache-2.0
- Created: 2020-04-25T09:14:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T09:02:51.000Z (over 1 year ago)
- Last Synced: 2025-04-14T17:12:19.083Z (about 1 year ago)
- Topics: android, detekt, github-actions, kotlin
- Language: Python
- Homepage: https://github.com/marketplace/actions/detekt-all
- Size: 41.6 MB
- Stars: 34
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action: Detekt All
GitHub Action for running [detekt](https://github.com/detekt/detekt) checks to enforce best practices. Detekt is a static code analysis tool for Kotlin.
Version of the action is aligned with [detekt versions](https://github.com/detekt/detekt/releases).
## Example usage
```yaml
name: detekt
on:
push:
branches: [ master ]
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v2
- name: "detekt"
uses: natiginfo/action-detekt-all@1.23.8
```
## Usage with [CLI parameters](https://detekt.github.io/detekt/cli.html#use-the-cli)
```yaml
name: detekt
on:
push:
branches: [ master ]
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v2
- name: "detekt"
uses: natiginfo/action-detekt-all@1.23.8
with:
args: --config detekt.yml
```
You can check available CLI parameters [here](https://detekt.github.io/detekt/cli.html#use-the-cli)