Skip to content

Commit 8a23933

Browse files
authored
chore: Add Coursier cache (#593)
Avoid download dependencies every time
1 parent c4d3c06 commit 8a23933

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/pr-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
distribution: 'zulu'
2323
cache: sbt
2424
- uses: sbt/setup-sbt@v1
25+
- name: Cache Coursier cache
26+
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433 # 6.4.8
2527
- name: Check Formatting
2628
run: ./mill _.${{ matrix.lang }}[_].__.checkFormat
2729
- name: Compile with mill

.jvmopts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
--enable-native-access=ALL-UNNAMED
2+
-XX:+UseG1GC
3+
-Xms4G
4+
-Xmx4G
5+
-Xss2M
6+
-XX:+AlwaysActAsServerClassMachine
7+
-XX:ReservedCodeCacheSize=512m
8+
-XX:NonProfiledCodeHeapSize=256m
9+
-XX:MaxGCPauseMillis=750
10+
-XX:+UseCompressedOops
11+
-XX:MetaspaceSize=512M
12+
-XX:-ClassUnloadingWithConcurrentMark
13+
-Djava.security.egd=file:/dev/./urandom

.mill-jvm-opts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-XX:+UseG1GC
2+
-Xms4G
3+
-Xmx4G
4+
-Xss2M
5+
-XX:+AlwaysActAsServerClassMachine
6+
-XX:ReservedCodeCacheSize=512m
7+
-XX:NonProfiledCodeHeapSize=256m
8+
-XX:MaxGCPauseMillis=750
9+
-XX:+UseCompressedOops
10+
-XX:MetaspaceSize=512M
11+
-XX:-ClassUnloadingWithConcurrentMark
12+
-Djava.security.egd=file:/dev/./urandom

0 commit comments

Comments
 (0)