Skip to content

Detekt all

Actions
This action can be used to run detekt checks to enforce best practices
2.0.0-alpha.1
Latest
Star (36)

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/action-detekt-all@2.0.0-alpha.1

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@2.0.0-alpha.1
         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
2.0.0-alpha.1
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.