Skip to content

Integrated detekt (#35) #3

Integrated detekt (#35)

Integrated detekt (#35) #3

Workflow file for this run

name: Run static code analysis using detekt
on:
workflow_dispatch:
push:
branches:
- '**'
paths-ignore:
- 'README.md'
- 'assets/**'
- '.github/**/*.md'
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Run Detekt
run: ./gradlew detekt