Feature/fine tuning main dashboard and list #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code inspection by Detekt | |
on: | |
pull_request: | |
branches: ["develop"] | |
jobs: | |
inspect: | |
name: Inspect code with Detekt and submit report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Run detekt | |
run: ./gradlew detekt | |
- name: Upload detekt report | |
uses: github/codeql-action/upload-sarif@v2 | |
if: success() || failure() | |
with: | |
sarif_file: build/reports/detekt/detekt.sarif | |
- name: Run formatKotlin | |
run: ./gradlew formatKotlin |