Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Java 21 in CI #1726

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/check-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ jobs:
fail-fast: false
matrix:
include:
- { java-version: 'temurin:1.11', sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { scalaVersion: '2.13', java-version: 'temurin:1.11', sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- { scalaVersion: '2.13', java-version: 'temurin:1.21', sbt-opts: '' }
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
Expand Down Expand Up @@ -152,7 +153,7 @@ jobs:
jvm: ${{ matrix.java-version }}

- name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
run: sbt ${{ matrix.sbt-opts }} "test"
run: sbt ++${{ matrix.scalaVersion }} ${{ matrix.sbt-opts }} "test"

- name: Print logs on failure
if: ${{ failure() }}
Expand Down
2 changes: 1 addition & 1 deletion project/project-info.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project-info {
version: "current"
shared-info {
jdk-versions: ["Eclipse Temurin JDK 11", "Eclipse Temurin JDK 17"]
jdk-versions: ["Eclipse Temurin JDK 11", "Eclipse Temurin JDK 17", "Eclipse Temurin JDK 21"]
snapshots: {
url: "snapshots.html"
text: "Snapshots are available"
Expand Down
2 changes: 1 addition & 1 deletion scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ site-link-validator {

ignore-prefixes = [
# runtime is NOT part of the published Scaladoc
"https://www.scala-lang.org/api/2.13.12/scala/runtime/AbstractFunction2.html"
"https://www.scala-lang.org/api/2.13.13/scala/runtime/AbstractFunction2.html"
# GitHub will block with "429 Too Many Requests"
"https://github.com/"
# MVN repository forbids access after a few requests
Expand Down