Merge pull request #721 #812
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 Ktlint | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-ktlint: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: zulu | |
- run: | | |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.1.1/ktlint | |
chmod +x ktlint | |
sudo mv ktlint /usr/local/bin | |
- uses: actions/checkout@v4 | |
- run: ktlint |