Skip to content

Detekt all

Actions
This action can be used to run detekt checks to enforce best practices
1.23.7
Latest
Star (32)

GitHub Action: Detekt All

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.

Example usage

name: detekt

on:
  push:
    branches: [ master ]

 jobs:
   detekt:
     runs-on: ubuntu-latest

     steps:
       - name: "checkout"
         uses: actions/checkout@v2

       - name: "detekt"
         uses: natiginfo/[email protected]

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/[email protected]
         with:
          args:  --config detekt.yml

You 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.

About

This action can be used to run detekt checks to enforce best practices
1.23.7
Latest

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.