2022-05-18 18:35:51 +05:30
|
|
|
name: reviewdog
|
|
|
|
on: [pull_request]
|
2023-04-10 12:06:31 +05:30
|
|
|
permissions: write-all
|
2022-05-18 18:35:51 +05:30
|
|
|
jobs:
|
|
|
|
ktlint:
|
|
|
|
name: Check Code Quality
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-04 20:31:58 +05:30
|
|
|
- uses: actions/checkout@v4
|
2022-05-18 18:35:51 +05:30
|
|
|
with:
|
|
|
|
fetch-depth: 1
|
|
|
|
- name: ktlint
|
2023-04-27 22:59:56 +05:30
|
|
|
uses: ScaCap/action-ktlint@v1.7
|
2022-05-18 18:35:51 +05:30
|
|
|
with:
|
2022-06-18 19:35:47 +05:30
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
2022-05-19 23:54:17 +05:30
|
|
|
reporter: github-pr-check
|
2022-05-18 18:35:51 +05:30
|
|
|
android: true
|
|
|
|
fail_on_error: true
|