Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 32c5224

Browse files
committed
Upgrade to Kotlin 1.9 and kotest 5.7.1
1 parent bdd5a13 commit 32c5224

File tree

4 files changed

+48
-3
lines changed

4 files changed

+48
-3
lines changed

.github/workflows/master.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: master
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- 'documentation/**'
8+
- '*.md'
9+
- '*.yml'
10+
branches:
11+
- master
12+
13+
jobs:
14+
linux:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout the repo
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Setup JDK
23+
uses: actions/setup-java@v3
24+
with:
25+
distribution: 'temurin'
26+
java-version: '17'
27+
28+
- name: Run tests
29+
run: ./gradlew check
30+
31+
- name: Bundle the build report
32+
if: failure()
33+
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip
34+
35+
- name: Upload the build report
36+
if: failure()
37+
uses: actions/upload-artifact@master
38+
with:
39+
name: error-report
40+
path: build-reports.zip
41+
42+
env:
43+
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach
5454

5555
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
5656
kotlinOptions {
57-
apiVersion = "1.8"
57+
apiVersion = "1.9"
5858
verbose = true
5959
}
6060
}

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
kotlin.mpp.stability.nowarn=true
2+
kotlin.native.ignoreDisabledTargets=true
3+
kotlin.native.cacheKind=none

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
2-
kotlin = "1.8.21"
3-
kotest = "5.6.2"
2+
kotlin = "1.9.10"
3+
kotest = "5.7.1"
44
ktor = "2.3.4"
55

66
[libraries]

0 commit comments

Comments
 (0)