Bump to 3.0.0-alpha.20 #649
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: Check compile, tests & KDocs | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 3.X | |
paths: | |
- 'pom.xml' | |
- 'src/main/**.java' | |
- 'src/test/**.java' | |
- 'src/main/**.kt' | |
- 'src/test/**.kt' | |
push: | |
branches: | |
- 3.X | |
paths: | |
- 'pom.xml' | |
- 'src/main/**.java' | |
- 'src/test/**.java' | |
- 'src/main/**.kt' | |
- 'src/test/**.kt' | |
jobs: | |
check-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Compile and run tests with Maven | |
run: mvn -B --file pom.xml -Dkotlin.compiler.incremental=false test | |
check-kdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Build KDocs with Maven | |
run: mvn -P docs -B generate-sources dokka:dokka |