Skip to content

Commit c769bf2

Browse files
committed
Possible fix for CI failure
1 parent ca5d7e3 commit c769bf2

File tree

3 files changed

+5
-21
lines changed

3 files changed

+5
-21
lines changed

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/runOnGitHub.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
gradle:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v2
18+
- name: Validate Gradle Wrapper
19+
uses: gradle/wrapper-validation-action@v1.0.3
1820
- uses: actions/setup-java@v1
1921
with:
2022
java-version: 11

kotlin-jvm/src/main/kotlin/playground/Velocity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fun main() {
2828
fun helloWorld(engine: VelocityEngine) {
2929
val context = VelocityContext()
3030
context.put("name", "Velocity")
31-
val template: Template = engine.getTemplate("hello.vm")
31+
val template: Template = engine.getTemplate("/hello.vm")
3232
template.apply(context) shouldBe """
3333
<body>
3434
Hello Velocity World!
@@ -45,7 +45,7 @@ fun complexExample(engine: VelocityEngine) {
4545
put("customer", VelocityCustomer("Jean-Michel", 39))
4646
put("groceries", listOf("apple", "milk"))
4747
}
48-
engine.getTemplate("complex.vm").apply(context) shouldBe """
48+
engine.getTemplate("/complex.vm").apply(context) shouldBe """
4949
Hello Velocity
5050
I speak French
5151
Customer Jean-Michel is 41 years old.

0 commit comments

Comments
 (0)