Skip to content

Commit

Permalink
gha: add lint by ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
lheimbs committed Nov 22, 2023
1 parent 55c5d84 commit a2743e4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: ktlint

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

jobs:
ktlint:
runs-on: ubuntu-latest

steps:
- name: "checkout"
uses: actions/checkout@v4

- name: "ktlint"
uses: "vroy/gha-kotlin-linter@v1"

0 comments on commit a2743e4

Please sign in to comment.