Skip to content

Commit

Permalink
Add SpotlessCheck Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Jan 19, 2024
1 parent ca9ac5a commit 6d35781
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflow/SpotlessCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: SpotlessCheck

on:
pull_request:
paths:
- '**/*.kt'

jobs:
spotlessCheck:
runs-on: macos-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

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

- name: Lint Kotlin Files
run: |
./gradlew spotlessCheck

0 comments on commit 6d35781

Please sign in to comment.