Skip to content

Commit

Permalink
Merge pull request #175 from eed3si9n/wip/actions
Browse files Browse the repository at this point in the history
ci: Add setup-sbt
  • Loading branch information
eed3si9n authored Oct 15, 2024
2 parents c282adf + 35ef95d commit 0075e4b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,16 @@ jobs:
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "${{ matrix.java }}"
distribution: adopt
- name: Coursier cache
uses: coursier/cache-action@v5
distribution: zulu
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Build and test
run: |
sbt -v scalafmtCheckAll
sbt -v test
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "*.lock" -delete || true
shell: bash

0 comments on commit 0075e4b

Please sign in to comment.