You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Detekt all
1.23.5
GitHub Action for running detekt checks to enforce best practices. Detekt is a static code analysis tool for Kotlin.
Version of the action is aligned with detekt versions.
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.5
Usage with CLI parameters
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.5
with:
args: --config detekt.yml
You can check available CLI parameters here