Skip to content

Bump kotlin from 1.9.10 to 1.9.20 (#67) #106

Bump kotlin from 1.9.10 to 1.9.20 (#67)

Bump kotlin from 1.9.10 to 1.9.20 (#67) #106

Workflow file for this run

name: 'Detekt'
on:
pull_request:
push:
branches:
- 'master'
env:
GRADLE_OPTS: -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.welcome=never
jobs:
detekt:
name: 'Detekt'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch Git tags, so that semantic version can be calculated.
# Alternatively, run `git fetch --prune --unshallow --tags` as the
# next step, see
# https://github.com/actions/checkout/issues/206#issuecomment-607496604.
fetch-depth: 0
- name: 'Set up Java 17'
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
java-package: jdk+fx
- name: 'Cache ~/.konan'
id: cache-konan
uses: actions/cache@v4
with:
path: |
~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle.kts', '**/gradle-wrapper.properties') }}-detekt
restore-keys: |
${{ runner.os }}-konan-${{ hashFiles('**/*.gradle.kts', '**/gradle-wrapper.properties') }}-
${{ runner.os }}-konan-
- name: 'Execute Gradle build'
uses: gradle/gradle-build-action@v3.1.0
with:
gradle-version: wrapper
arguments: |
--continue
detektAll
- name: 'Publish SARIF to GitHub'
id: publish
if: ${{ always() }}
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: build/detekt-sarif-reports/detekt-merged.sarif