Ibc parsing errors #482
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: ktlint | |
on: | |
pull_request: | |
paths: | |
- "**/*.kt" | |
jobs: | |
ktlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.47.1/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ | |
- name: run ktlint | |
run: | | |
ktlint --disabled_rules=filename,chain-wrapping,enum-entry-name-case,multiline-if-else --reporter=checkstyle,output=build/ktlint-report.xml **/*.kt | |
continue-on-error: true | |
- uses: yutailang0119/action-ktlint@v3 | |
with: | |
report-path: build/*.xml # Support glob patterns by https://www.npmjs.com/package/@actions/glob | |
continue-on-error: false # If annotations contain error of severity, action-ktlint exit 1. | |