Skip to content

Commit

Permalink
Merge pull request #248 from fitztrev/v3-github-action
Browse files Browse the repository at this point in the history
Use sbtscala image for github action
  • Loading branch information
lenguyenthanh authored Nov 25, 2023
2 parents 6f56fef + 0aa928e commit a53adf9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a53adf9

Please sign in to comment.