Skip to content

Commit

Permalink
Upgrade to Kotlin 1.9 and kotest 5.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Sep 3, 2023
1 parent bdd5a13 commit 32c5224
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: master

on:
push:
paths-ignore:
- 'doc/**'
- 'documentation/**'
- '*.md'
- '*.yml'
branches:
- master

jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Run tests
run: ./gradlew check

- name: Bundle the build report
if: failure()
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip

- name: Upload the build report
if: failure()
uses: actions/upload-artifact@master
with:
name: error-report
path: build-reports.zip

env:
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"
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
apiVersion = "1.8"
apiVersion = "1.9"
verbose = true
}
}
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
kotlin.mpp.stability.nowarn=true
kotlin.native.ignoreDisabledTargets=true
kotlin.native.cacheKind=none
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "1.8.21"
kotest = "5.6.2"
kotlin = "1.9.10"
kotest = "5.7.1"
ktor = "2.3.4"

[libraries]
Expand Down

0 comments on commit 32c5224

Please sign in to comment.