Skip to content

Add Preference.update, convert Gradle files to Kotlin, and more #16

Add Preference.update, convert Gradle files to Kotlin, and more

Add Preference.update, convert Gradle files to Kotlin, and more #16

name: Check formatting
on:
push:
pull_request:
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 23
distribution: zulu
- run: |
curl -sSL -o ktfmt.jar https://github.com/facebook/ktfmt/releases/download/v0.53/ktfmt-0.53-jar-with-dependencies.jar
java -jar ktfmt.jar --dry-run --kotlinlang-style --set-exit-if-changed .