You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Kotlin Linter
v2
This GitHub action runs the Kotlin Linter, ktlint.
Optional A list of patterns to pass along to the ktlint
command. Default: **/src/**/*.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"