Skip to content

Add Komapper v3.0.0 (#30) #72

Add Komapper v3.0.0 (#30)

Add Komapper v3.0.0 (#30) #72

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.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.18.1, 2.0.0, 2.1.0, 2.2.2 ]
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.20 ]
ksp: [ 1.0.25 ]
komapper: [ 1.18.1, 2.0.0, 2.1.0, 2.2.2, 3.0.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: 7.6.4
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.20 ]
ksp: [ 1.0.25 ]
komapper: [ 1.18.1, 2.0.0, 2.1.0, 2.2.2, 3.0.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: 7.6.4
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