File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Scala CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ env :
13+ JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
14+ JVM_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Set up Scala
18+ uses : olafurpg/setup-scala@v10
19+ with :
20+ java-version : " adopt@1.8"
21+ - name : Coursier cache
22+ uses : coursier/cache-action@v5
23+ - name : Build and test
24+ run : |
25+ sbt -v clean scalafmtCheckAll +test
26+ rm -rf "$HOME/.ivy2/local" || true
27+ find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
28+ find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
29+ find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
30+ find $HOME/.sbt -name "*.lock" -delete || true
You can’t perform that action at this time.
0 commit comments