Skip to content

Commit

Permalink
chore: Java 21 in CI (akka#1726)
Browse files Browse the repository at this point in the history
* chore: Java 21 in CI
* Ignore broken link to scala.runtime
  • Loading branch information
ennru authored Mar 25, 2024
1 parent 8bd655c commit 2fb92a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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

0 comments on commit 2fb92a7

Please sign in to comment.