Skip to content

Update java 21

Update java 21 #1379

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: ['**']
push:
branches: ['**']
jobs:
openjdk21:
runs-on: ubuntu-latest
env:
JAVA_OPTS: "-Xmx6G -XX:+UseG1GC"
SBT_OPTS: "-Dsbt.ci=true"
steps:
- name: Checkout current branch
uses: actions/checkout@v3
- name: Setup JVM
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Test
run: sbt testKit/test
- name: Check Formatting
run: |
sbt scalachess/scalafmtCheckAll
sbt bench/scalafmtCheckAll
sbt testKit/scalafmtCheckAll