From 5b23c37870c35e6f831718a49a78e93e655f53f5 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 12 Apr 2026 09:07:25 +0200 Subject: [PATCH] feat: add detekt to workflow --- .github/workflows/detekt.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/detekt.yml diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml new file mode 100644 index 0000000..d925f67 --- /dev/null +++ b/.github/workflows/detekt.yml @@ -0,0 +1,24 @@ +name: detekt + +on: + pull_request: + +jobs: + detekt: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: '25' + distribution: 'microsoft' + + - name: Grant execute permission for Gradle + run: chmod +x ./gradlew + + - name: Run detekt + run: ./gradlew detekt