GitHub Action
Kotlin Linter
v4
Latest version
This GitHub action runs the Kotlin Linter, ktlint.
Optional A list of patterns to pass along to the ktlint
command. Default: **/*.kt
name: ktlint
on:
pull_request:
paths:
- "**/*.kt"
- ".github/workflows/ktlint.yml"
jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v2
- name: "ktlint"
uses: "vroy/gha-kotlin-linter@v1"