Skip to content

Commit

Permalink
Create ktlint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Mar 10, 2024
1 parent bb12615 commit 307b04a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ktlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Code Quality Checks / ktlint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Run ktlint
run: ./gradlew ktlintCheck

0 comments on commit 307b04a

Please sign in to comment.