Skip to content

Commit

Permalink
Fix #565: add matrix build to CI to build module against Kotlin 1.4/1…
Browse files Browse the repository at this point in the history
….5/1.6/1.7 (#588)
  • Loading branch information
cowtowncoder authored Oct 14, 2022
1 parent d469474 commit d5ee265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
fail-fast: false
matrix:
java_version: ['8', '11', '17']
kotlin_version: ['1.4.32', '1.5.32', '1.6.21', '1.7.20']
os: ['ubuntu-20.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
Expand All @@ -43,7 +44,7 @@ jobs:
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Build
run: ./mvnw -B -q -ff -ntp verify
run: ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} verify
- name: Extract project Maven version
id: projectVersion
run: echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<connection>scm:git:git@github.com:FasterXML/jackson-module-kotlin.git</connection>
<developerConnection>scm:git:git@github.com:FasterXML/jackson-module-kotlin.git</developerConnection>
<url>https://github.com/FasterXML/jackson-module-kotlin</url>
<tag>jackson-module-kotlin-2.13.2-take2</tag>
<tag>HEAD2</tag>
</scm>

<properties>
Expand All @@ -52,7 +52,7 @@
<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>

<version.kotlin>1.5.30</version.kotlin>
<version.kotlin>1.5.32</version.kotlin>

<!-- Generate PackageVersion.java into this directory. -->
<packageVersion.dir>com/fasterxml/jackson/module/kotlin</packageVersion.dir>
Expand Down

0 comments on commit d5ee265

Please sign in to comment.