Skip to content

Kotlint

Actions
Run the latest version of ktlint in your repository, disabling wildcard-imports error notification
v1.1
Latest
Star (1)

GitHub Action Kotlint

This GitHub action runs the Kotlin linter ktlint.

Example usage

An MVE can be obtained by putting the below code into a YAML file located inside the .github/workflows folder:

name: kotlint

on:
  pull_request:
    paths:
      - "**/*.kt"
      - ".github/workflows/ktlint.yml"

 jobs:
   ktlint:
     runs-on: ubuntu-latest

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

       - name: "ktlint"
         uses: fabiocapasso93/gha-kotlin-linter@v1.0

Kotlint 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

Run the latest version of ktlint in your repository, disabling wildcard-imports error notification
v1.1
Latest

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