Skip to content

chore: remove explanatory code comments and lint against them #1825

chore: remove explanatory code comments and lint against them

chore: remove explanatory code comments and lint against them #1825

Workflow file for this run

name: Detekt
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
detekt:
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false
name: detekt
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Clone repo
uses: actions/checkout@v7
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@v6
with:
java-version: "21"
distribution: zulu
cache: gradle
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6
- name: Run detekt
run: ./gradlew detekt --build-cache --parallel