Skip to content

Add Komapper v2.1.0 (#29) #68

Add Komapper v2.1.0 (#29)

Add Komapper v2.1.0 (#29) #68

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
kotlin-1_8:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kotlin: [ 1.8.22 ]
ksp: [ 1.0.11 ]
komapper: [ 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.1, 1.13.0, 1.14.1, 1.15.0, 1.16.1 ]
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Assemble and Check
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.8.3
arguments: |
assemble
check
-PkomapperVersion=${{ matrix.komapper }}
-PkotlinVersion=${{ matrix.kotlin }}
-PkspVersion=${{ matrix.ksp }}
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: build
path: ./**/build/reports
kotlin-1_9:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kotlin: [ 1.9.24 ]
ksp: [ 1.0.20 ]
komapper: [ 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.1, 1.13.0, 1.14.1, 1.15.0, 1.16.1, 1.17.0, 1.18.1, 2.0.0, 2.1.0 ]
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Assemble and Check
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.8.3
arguments: |
assemble
check
-PkomapperVersion=${{ matrix.komapper }}
-PkotlinVersion=${{ matrix.kotlin }}
-PkspVersion=${{ matrix.ksp }}
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: build
path: ./**/build/reports
kotlin-2_0:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kotlin: [ 2.0.0 ]
ksp: [ 1.0.24 ]
komapper: [ 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.1, 1.13.0, 1.14.1, 1.15.0, 1.16.1, 1.17.0, 1.18.1, 2.0.0, 2.1.0 ]
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Assemble and Check
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.8.3
arguments: |
assemble
check
-PkomapperVersion=${{ matrix.komapper }}
-PkotlinVersion=${{ matrix.kotlin }}
-PkspVersion=${{ matrix.ksp }}
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: build
path: ./**/build/reports
kotlin-2_0-useKSP2:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kotlin: [ 2.0.0 ]
ksp: [ 1.0.24 ]
komapper: [ 1.18.1, 2.0.0, 2.1.0 ]
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Assemble and Check
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.8.3
arguments: |
assemble
check
-PkomapperVersion=${{ matrix.komapper }}
-PkotlinVersion=${{ matrix.kotlin }}
-PkspVersion=${{ matrix.ksp }}
-Pksp.useKSP2=true
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: build
path: ./**/build/reports