Skip to content

Commit

Permalink
Add ktlintCheck workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jofairden committed Jun 30, 2020
1 parent fe7425b commit 3217007
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ktlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run ktlint inspector

on:
push:
branches:
- master
pull_request:

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Run ktlinter
run: ./gradlew ktlintCheck

0 comments on commit 3217007

Please sign in to comment.