File tree Expand file tree Collapse file tree 5 files changed +6
-15
lines changed Expand file tree Collapse file tree 5 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 3636 with :
3737 node-version : ' 22.10.0'
3838
39- - name : Install libncurses5
40- run : |
41- if [[ "$OSTYPE" == "darwin"* ]]
42- then
43- brew install ncurses
44- else
45- sudo apt-get install libncurses5
46- fi
47-
4839 - name : Install Danger JS
4940 run : npm install -g danger
5041
Original file line number Diff line number Diff line change 77
88// Testing plugin
99@file:DependsOn(" danger-kotlin-sample-plugin-sample.jar" )
10+ @file:OptIn(kotlin.time.ExperimentalTime ::class )
1011
1112import kotlinx.coroutines.async
1213import kotlinx.coroutines.delay
@@ -64,9 +65,7 @@ danger(args) {
6465 async { expensiveCheck(" 4" , 5000 ) }
6566 }
6667 val after = Clock .System .now()
67- @OptIn(kotlin.time.ExperimentalTime ::class )
6868 val runningTime = after.minus(before)
69- @OptIn(kotlin.time.ExperimentalTime ::class )
7069 message(" Coroutines checks terminated - runningFor $runningTime " )
7170
7271 if ((fails + warnings).isEmpty()) {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ LABEL "com.github.actions.color"="blue"
99
1010ARG KOTLINC_VERSION="2.0.21"
1111ARG DANGER_KOTLIN_VERSION="1.3.2"
12- ARG DANGER_JS_VERSION="11 .3.1 "
12+ ARG DANGER_JS_VERSION="12 .3.3 "
1313
1414# Install dependencies
1515RUN apt-get update
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ project.ext.artifactIdKotlinMain = 'kotlin-main-kts'
2727project. ext. artifactIdKotlinSerializationJson = ' kotlinx-serialization-json'
2828project. ext. artifactIdKotlinDatetime = " kotlinx-datetime"
2929project. ext. artifactIdKotlinCoroutines = " kotlinx-coroutines-core"
30- project. ext. versionKotlinSerializationJson = ' 1.3.2 '
31- project. ext. versionKotlinDatetime = ' 0.2.0 '
32- project. ext. versionKotlinCoroutines = ' 1.6.2 '
30+ project. ext. versionKotlinSerializationJson = ' 1.7.3 '
31+ project. ext. versionKotlinDatetime = ' 0.6.1 '
32+ project. ext. versionKotlinCoroutines = ' 1.9.0 '
3333
3434ext. kotlin = [
3535 mainKts : " $groupIdKotlin :$artifactIdKotlinMain :$versionKotlin " ,
Original file line number Diff line number Diff line change 11pluginManagement {
22 repositories {
3+ gradlePluginPortal()
34 mavenCentral()
45 mavenLocal()
56 }
You can’t perform that action at this time.
0 commit comments