Skip to content

fix(cicd): use Temurin 17 #5

fix(cicd): use Temurin 17

fix(cicd): use Temurin 17 #5

Workflow file for this run

name: Scan with Detekt
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
permissions:
security-events: write
env:
DETEKT_VERSION: 1.23.4
DETEKT_COMPOSE_VERSION: 0.3.8
jobs:
scan:
name: Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.4
- name: Run Detekt
continue-on-error: true
run: gradle :app:detekt
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: app/build/reports/detekt/detekt.sarif