diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e07aeb2..35f566c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,20 +9,11 @@ on: jobs: openjdk21: runs-on: ubuntu-latest - env: - JAVA_OPTS: "-Xmx6G -XX:+UseG1GC" - SBT_OPTS: "-Dsbt.ci=true" + container: sbtscala/scala-sbt:eclipse-temurin-jammy-21.0.1_12_1.9.7_3.3.1 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 + uses: actions/checkout@v4 - name: Compile run: sbt compile