Skip to content

Commit

Permalink
Add detekt for kotlin (#27661)
Browse files Browse the repository at this point in the history
* Add detekt for kotlin

* Force detekt paths since otherwise it gets hung up on symbolinc links

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 7, 2023
1 parent 471d7e4 commit 5314ea2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/kotlin-detekt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Kotlin - Detekt

on:
pull_request:
paths:
- "**/*.kt"
- ".github/workflows/kotlin-detekt.yaml"

jobs:
detekt:
runs-on: ubuntu-latest

steps:
- name: "checkout"
uses: actions/checkout@v2

- name: "detekt"
uses: natiginfo/[email protected]
with:
args: --parallel --input examples/android/CHIPTest/,examples/android/CHIPTool,examples/java-matter-controller/java,src/controller/java

0 comments on commit 5314ea2

Please sign in to comment.