enable OH and wheelchair for more craft= #1754
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: "Lint" | |
on: | |
push: | |
branches: | |
- "master" | |
workflow_dispatch: | |
jobs: | |
ktlint: | |
name: "Kotlin" | |
runs-on: ubuntu-latest | |
env: | |
lintResultFilename: ktlint-result.txt | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Run Kotlin linter | |
id: ktlint-check | |
uses: musichin/[email protected] | |
with: | |
ktlint-version: "1.3.0" | |
reporter: plain?group_by_file,output=${{ env.lintResultFilename }} | |
relative: true | |
continue-on-error: true | |
- name: Kotlin linter result | |
run: | | |
cat ${{ env.lintResultFilename }} | |
[ "${{ steps.ktlint-check.outcome }}" == "success" ] || exit 1 |