Update kotlin.dokka to v1.9.0 #66
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: build | |
env: | |
GRADLE_OPTS: '-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false' | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
on: | |
pull_request: | |
paths-ignore: [ '**/**.md', 'website/**' ] | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci-build: | |
runs-on: macos-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-home-cache-cleanup: true | |
cache-write-only: ${{ contains(github.event.pull_request.labels.*.name, 'gradle') }} | |
cache-read-only: ${{ !contains(github.event.pull_request.labels.*.name, 'gradle') }} | |
- name: Code style checks | |
run: ./gradlew ktlintCheck detekt | |
- name: Run test | |
run: ./gradlew test --stacktrace | |
- name: Run build | |
run: ./gradlew build --stacktrace |