Skip to content

Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v2 #592

Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v2

Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v2 #592

Workflow file for this run

name: Check
on:
pull_request
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Danger
uses: danger/kotlin@1.3.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
assemble:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version-file: .ci-java-version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
- name: Run assemble task
run: ./gradlew assemble
detekt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version-file: .ci-java-version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
- name: Run detekt
run: ./gradlew detektAll
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ktlint
run: ./format --no-format
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version-file: .ci-java-version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
- name: Run Android lint
run: ./gradlew lintRelease
test:
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version-file: .ci-java-version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
- name: Run tests
run: ./gradlew allTests
if: matrix.os == 'ubuntu-latest'
- name: Run Apple tests
run: ./gradlew iosX64Test macosX64Test
if: matrix.os == 'macos-latest'
- name: Run Windows tests
run: ./gradlew mingwX64Test
if: matrix.os == 'windows-latest'
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx16g -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -XX:+UseParallelGC -XX:MetaspaceSize=256m -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError"