Skip to content

Commit 1255753

Browse files
authored
Added Java 25
1 parent 2c08f2f commit 1255753

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macOS-latest]
17-
java: [11, 17, 21, 23, 24, 25-ea]
17+
java: [11, 17, 21, 23, 24, 25]
1818

1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up JDK ${{ matrix.java }}
2222
uses: actions/setup-java@v4
2323
with:
24-
distribution: 'temurin'
24+
distribution: 'corretto'
2525
java-version: ${{ matrix.java }}
2626
cache: 'maven'
2727
- name: Build with Maven
@@ -34,14 +34,14 @@ jobs:
3434
- uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 0
37-
- name: Set up JDK 17
37+
- name: Set up JDK 21
3838
uses: actions/setup-java@v4
3939
with:
4040
distribution: 'corretto'
41-
java-version: 17
41+
java-version: 21
4242
cache: 'maven'
4343
- name: Cache SonarCloud packages
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: ~/.sonar/cache
4747
key: ${{ runner.os }}-sonar

src/test/java/com/github/underscore/FunctionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ void defer() {
201201
return null;
202202
});
203203
assertEquals(0, counter[0].intValue(), "incr was debounced");
204-
await().atMost(600, TimeUnit.MILLISECONDS)
204+
await().atMost(800, TimeUnit.MILLISECONDS)
205205
.until(
206206
() -> {
207207
assertEquals(1, counter[0].intValue(), "incr was debounced");

0 commit comments

Comments
 (0)