Detekt all
ActionsThis action can be used to run detekt checks to enforce best practices
2.0.0-alpha.1
LatestBy natiginfo
Tags
(2)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@2.0.0-alpha.1Usage 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@2.0.0-alpha.1
with:
args: --config detekt.ymlYou can check available CLI parameters here
Detekt all is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.