Skip to content

Commit

Permalink
add :: ktlint-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
meltapplee authored Sep 2, 2024
1 parent c5c6b95 commit 66846f2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ktlint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ktlint

on:
pull_request:
branches:
- main
- develop

jobs:
ktlint:
name: Check Code Quality
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup JDK
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- name: Run ktlint
run: |
./gradlew ktlintCheck --daemon --parallel --configure-on-demand

0 comments on commit 66846f2

Please sign in to comment.