Skip to content

Commit 51aa927

Browse files
QuadStingraySimon Siedler
authored andcommitted
refactor(java): drop java 11 and 19 support because org.apache.lucene.queryparser has dropped it
BREAKING CHANGE: Lucene Query Parser has dropped Java 11 and 19 and only support Java 21 Support
1 parent d2f9727 commit 51aa927

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/main_test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
mongodb-version: ['4.4', '5.0', '6.0', '7.0']
17-
java: [ '11', '17' ]
17+
java: [ '21', '23' ]
1818
steps:
1919
- uses: actions/checkout@main
2020
- name: Setup TimeZone

.github/workflows/other_test.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
mongodb-version: ['4.4', '5.0', '6.0', '7.0']
17-
java: [ '11', '17' ]
16+
mongodb-version: [ '4.4', '5.0', '6.0', '7.0' ]
17+
java: [ '21', '23' ]
1818
steps:
19-
- uses: actions/checkout@main
20-
- name: Set up JDK ${{ matrix.Java }}
21-
uses: coursier/setup-action@main
22-
with:
23-
jvm: corretto:${{ matrix.Java }}
24-
apps: sbt scala scalac
25-
- name: Setup TimeZone
26-
uses: MathRobin/timezone-action@v1.1
27-
with:
28-
timezoneLinux: "Europe/Berlin"
29-
timezoneMacos: "Europe/Berlin"
30-
timezoneWindows: "W. Europe Standard Time"
31-
- name: Start MongoDB ${{ matrix.mongodb-version }}
32-
uses: MongoCamp/mongodb-github-action@main
33-
with:
34-
mongodb-version: ${{ matrix.mongodb-version }}
35-
- name: Run tests
36-
run: |
37-
timedatectl
38-
sbt +test
19+
- uses: actions/checkout@main
20+
- name: Set up JDK ${{ matrix.Java }}
21+
uses: coursier/setup-action@main
22+
with:
23+
jvm: corretto:${{ matrix.Java }}
24+
apps: sbt scala scalac
25+
- name: Setup TimeZone
26+
uses: MathRobin/timezone-action@v1.1
27+
with:
28+
timezoneLinux: "Europe/Berlin"
29+
timezoneMacos: "Europe/Berlin"
30+
timezoneWindows: "W. Europe Standard Time"
31+
- name: Start MongoDB ${{ matrix.mongodb-version }}
32+
uses: MongoCamp/mongodb-github-action@main
33+
with:
34+
mongodb-version: ${{ matrix.mongodb-version }}
35+
- name: Run tests
36+
run: |
37+
timedatectl
38+
sbt +test

0 commit comments

Comments
 (0)