Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jul 7, 2024
1 parent eb6ef4f commit a314b7f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,29 @@ jobs:
include:
- os: ubuntu-latest
java: 8
distribution: zulu
- os: macos-latest
java: 11
distribution: temurin
- os: windows-latest
java: 8
distribution: zulu
runs-on: ${{ matrix.os }}
env:
# define Java options for both official sbt and sbt-extras
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: "${{ matrix.distribution }}"
java-version: "${{ matrix.java }}"
cache: sbt
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Build and test
run: |
sbt -v "mimaReportBinaryIssues; scalafmtCheckAll; shadedPackageBin; test;"
Expand Down

0 comments on commit a314b7f

Please sign in to comment.