Skip to content

Commit

Permalink
Merge pull request #14 from cw-bhanunadar/detekt-setup
Browse files Browse the repository at this point in the history
Detekt setup
  • Loading branch information
cw-bhanunadar authored Nov 1, 2023
2 parents 9c4cf7a + 79da00f commit 08f04ba
Show file tree
Hide file tree
Showing 2 changed files with 818 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Detekt
on:
pull_request:

jobs:
detekt:
runs-on: ubuntu-latest

steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v3

# https://github.com/marketplace/actions/run-detekt-with-reviewdog
- name: Run detekt with reviewdog
uses: alaegin/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
detekt_config: config/detekt/detekt.yml
reporter: github-pr-review
fail_on_error: false
Loading

0 comments on commit 08f04ba

Please sign in to comment.