File tree 5 files changed +6
-15
lines changed
5 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 36
36
with :
37
37
node-version : ' 22.10.0'
38
38
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
-
48
39
- name : Install Danger JS
49
40
run : npm install -g danger
50
41
Original file line number Diff line number Diff line change 7
7
8
8
// Testing plugin
9
9
@file:DependsOn(" danger-kotlin-sample-plugin-sample.jar" )
10
+ @file:OptIn(kotlin.time.ExperimentalTime ::class )
10
11
11
12
import kotlinx.coroutines.async
12
13
import kotlinx.coroutines.delay
@@ -64,9 +65,7 @@ danger(args) {
64
65
async { expensiveCheck(" 4" , 5000 ) }
65
66
}
66
67
val after = Clock .System .now()
67
- @OptIn(kotlin.time.ExperimentalTime ::class )
68
68
val runningTime = after.minus(before)
69
- @OptIn(kotlin.time.ExperimentalTime ::class )
70
69
message(" Coroutines checks terminated - runningFor $runningTime " )
71
70
72
71
if ((fails + warnings).isEmpty()) {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ LABEL "com.github.actions.color"="blue"
9
9
10
10
ARG KOTLINC_VERSION="2.0.21"
11
11
ARG DANGER_KOTLIN_VERSION="1.3.2"
12
- ARG DANGER_JS_VERSION="11 .3.1 "
12
+ ARG DANGER_JS_VERSION="12 .3.3 "
13
13
14
14
# Install dependencies
15
15
RUN apt-get update
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ project.ext.artifactIdKotlinMain = 'kotlin-main-kts'
27
27
project. ext. artifactIdKotlinSerializationJson = ' kotlinx-serialization-json'
28
28
project. ext. artifactIdKotlinDatetime = " kotlinx-datetime"
29
29
project. 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 '
33
33
34
34
ext. kotlin = [
35
35
mainKts : " $groupIdKotlin :$artifactIdKotlinMain :$versionKotlin " ,
Original file line number Diff line number Diff line change 1
1
pluginManagement {
2
2
repositories {
3
+ gradlePluginPortal()
3
4
mavenCentral()
4
5
mavenLocal()
5
6
}
You can’t perform that action at this time.
0 commit comments