Skip to content

dependabot/gradle/org.jetbrains.kotlinx.kover-0.9.0 #253

dependabot/gradle/org.jetbrains.kotlinx.kover-0.9.0

dependabot/gradle/org.jetbrains.kotlinx.kover-0.9.0 #253

Workflow file for this run

name: Pull request
run-name: ${{ github.head_ref }}
on: pull_request
jobs:
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Compile kotlin
run: ./gradlew compileKotlin
unit-test:
name: Unit testing
runs-on: ubuntu-latest
needs: compile
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Unit tests
run: ./gradlew test koverVerify
detekt:
name: Detekt
runs-on: ubuntu-latest
needs: compile
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Run Detekt
run: ./gradlew detekt
- name: Export Detekt summary
if: always()
run: |
cat build/reports/detekt/detekt.md > $GITHUB_STEP_SUMMARY