Add CI Checks for Kotlin #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run ktlintCheck | |
on: | |
pull_request: | |
types: | |
- opened | |
jobs: | |
lint-kotlin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Run ktlintCheck on ldk-node-jvm | |
run: | | |
cd bindings/kotlin/ldk-node-jvm | |
./gradlew ktlintCheck | |
- name: Run ktlintCheck on ldk-node-android | |
run: | | |
cd bindings/kotlin/ldk-node-android | |
./gradlew ktlintCheck |