Skip to content

Commit

Permalink
refactor(java): drop java 11 and 19 support because `org.apache.lucen…
Browse files Browse the repository at this point in the history
…e.queryparser` has dropped it

BREAKING CHANGE: Lucene Query Parser has dropped Java 11 and 19 and only support Java 21 Support
  • Loading branch information
QuadStingray authored and Simon Siedler committed Oct 22, 2024
1 parent d2f9727 commit 51aa927
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
mongodb-version: ['4.4', '5.0', '6.0', '7.0']
java: [ '11', '17' ]
java: [ '21', '23' ]
steps:
- uses: actions/checkout@main
- name: Setup TimeZone
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/other_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
mongodb-version: ['4.4', '5.0', '6.0', '7.0']
java: [ '11', '17' ]
mongodb-version: [ '4.4', '5.0', '6.0', '7.0' ]
java: [ '21', '23' ]
steps:
- uses: actions/checkout@main
- name: Set up JDK ${{ matrix.Java }}
uses: coursier/setup-action@main
with:
jvm: corretto:${{ matrix.Java }}
apps: sbt scala scalac
- name: Setup TimeZone
uses: MathRobin/timezone-action@v1.1
with:
timezoneLinux: "Europe/Berlin"
timezoneMacos: "Europe/Berlin"
timezoneWindows: "W. Europe Standard Time"
- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: MongoCamp/mongodb-github-action@main
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Run tests
run: |
timedatectl
sbt +test
- uses: actions/checkout@main
- name: Set up JDK ${{ matrix.Java }}
uses: coursier/setup-action@main
with:
jvm: corretto:${{ matrix.Java }}
apps: sbt scala scalac
- name: Setup TimeZone
uses: MathRobin/timezone-action@v1.1
with:
timezoneLinux: "Europe/Berlin"
timezoneMacos: "Europe/Berlin"
timezoneWindows: "W. Europe Standard Time"
- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: MongoCamp/mongodb-github-action@main
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Run tests
run: |
timedatectl
sbt +test

0 comments on commit 51aa927

Please sign in to comment.