Kotlint
ActionsRun the latest version of ktlint in your repository, disabling wildcard-imports error notification
v1.1
LatestTags
(2)This GitHub action runs the Kotlin linter ktlint.
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.