From 0aa928e1f755f16c9d6a8297599e07083004ba89 Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Sat, 25 Nov 2023 09:01:37 -0500 Subject: [PATCH] Use sbtscala image for github action --- .github/workflows/test.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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