Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/build_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,20 @@ jobs:
- name: Run All Unit Tests
run: ./gradlew :app:testCafeBazaarDebugUnitTest

- name: Run Detekt
run: ./gradlew detekt
detekt:
name: Check Code Quality
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ github.head_ref }}

- name: detekt
uses: alaegin/Detekt-Action@v1.23.5
with:
github_token: ${{ secrets.github_token }}
detekt_config: detekt.yml
reviewdog_reporter: github-pr-review