@@ -81,29 +81,29 @@ jobs:
8181 mv .github/workflows/test-served-bindings-depend-on-library.main.do-not-compile.kts .github/workflows/test-served-bindings-depend-on-library.main.kts
8282 .github/workflows/test-served-bindings-depend-on-library.main.kts
8383 - id : ' step-8'
84- name : ' Install Kotlin 2.0 .0'
84+ name : ' Install Kotlin 1.9 .0'
8585 uses : ' fwilhe2/setup-kotlin@v1'
8686 with :
87- version : ' 2.0 .0'
87+ version : ' 1.9 .0'
8888 - id : ' step-9'
8989 name : ' Clean Maven Local to fetch required POMs again'
9090 run : ' rm -rf ~/.m2/repository/'
9191 - id : ' step-10'
92- name : ' Execute the script using the bindings from the server, using older Kotlin (2.0 .0) as consumer'
92+ name : ' Execute the script using the bindings from the server, using older Kotlin (1.9 .0) as consumer'
9393 run : |2-
9494 cp .github/workflows/test-script-consuming-jit-bindings.main.kts .github/workflows/test-script-consuming-jit-bindings-too-old-kotlin.main.kts
9595 (.github/workflows/test-script-consuming-jit-bindings-too-old-kotlin.main.kts || true) >> output.txt 2>&1
9696 grep "was compiled with an incompatible version of Kotlin" output.txt
9797 - id : ' step-11'
98- name : ' Install Kotlin 2.1 .0'
98+ name : ' Install Kotlin 2.0 .0'
9999 uses : ' fwilhe2/setup-kotlin@v1'
100100 with :
101- version : ' 2.1 .0'
101+ version : ' 2.0 .0'
102102 - id : ' step-12'
103103 name : ' Clean Maven Local to fetch required POMs again'
104104 run : ' rm -rf ~/.m2/repository/'
105105 - id : ' step-13'
106- name : ' Execute the script using the bindings from the server, using older Kotlin (2.1 .0) as consumer'
106+ name : ' Execute the script using the bindings from the server, using older Kotlin (2.0 .0) as consumer'
107107 run : |-
108108 cp .github/workflows/test-script-consuming-jit-bindings.main.kts .github/workflows/test-script-consuming-jit-bindings-older-kotlin.main.kts
109109 .github/workflows/test-script-consuming-jit-bindings-older-kotlin.main.kts
0 commit comments