File tree Expand file tree Collapse file tree 4 files changed +23
-16
lines changed
Expand file tree Collapse file tree 4 files changed +23
-16
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ jobs:
2525 test :
2626# runs-on: self-hosted
2727 runs-on : ubuntu-latest
28- env :
29- # define Java options for both official sbt and sbt-extras
30- JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
31- JVM_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
3228 steps :
29+ - name : Env
30+ run : |
31+ echo "JFROG_USER=${{ secrets.JFROG_USER }}" >> $GITHUB_ENV
32+ echo "JFROG_PASSWORD=${{ secrets.JFROG_PASSWORD }}" >> $GITHUB_ENV
33+ echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
3334 - name : Checkout
3435 uses : actions/checkout@v3
3536 - name : Set up JDK 17
@@ -43,11 +44,16 @@ jobs:
4344 - name : Set vm.max_map_count
4445 run : sudo sysctl -w vm.max_map_count=262144
4546 - name : Run tests
46- run : sbt test
47+ run : SBT_OPTS="-Xss4M -Xms1g -Xmx4g -Dfile.encoding=UTF-8" sbt ' test'
4748
4849 lint :
4950 runs-on : ubuntu-latest
5051 steps :
52+ - name : Env
53+ run : |
54+ echo "JFROG_USER=${{ secrets.JFROG_USER }}" >> $GITHUB_ENV
55+ echo "JFROG_PASSWORD=${{ secrets.JFROG_PASSWORD }}" >> $GITHUB_ENV
56+ echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
5157 - name : Checkout
5258 uses : actions/checkout@v3
5359 - name : Set up JDK 17
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ jobs:
2222 release :
2323# runs-on: self-hosted
2424 runs-on : ubuntu-latest
25- env :
26- # define Java options for both official sbt and sbt-extras
27- JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
28- JVM_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
2925 steps :
26+ - name : Env
27+ run : |
28+ echo "JFROG_USER=${{ secrets.JFROG_USER }}" >> $GITHUB_ENV
29+ echo "JFROG_PASSWORD=${{ secrets.JFROG_PASSWORD }}" >> $GITHUB_ENV
30+ echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
3031 - name : Checkout
3132 uses : actions/checkout@v3
3233 - name : Set up JDK 17
4243 - name : Set vm.max_map_count
4344 run : sudo sysctl -w vm.max_map_count=262144
4445 - name : Run tests & Coverage Report
45- run : sbt coverage test coverageReport coverageAggregate
46+ run : SBT_OPTS="-Xss4M -Xms1g -Xmx4g -Dfile.encoding=UTF-8" sbt ' coverage test coverageReport coverageAggregate'
4647 - name : Upload coverage to Codecov
4748 uses : codecov/codecov-action@v3
4849 with :
5152 fail_ci_if_error : false
5253 verbose : true
5354 - name : Publish
54- run : sbt publish
55+ run : SBT_OPTS="-Xss4M -Xms1g -Xmx4g -Dfile.encoding=UTF-8" sbt ' publish'
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ object Versions {
2828
2929 val testContainers = " 1.18.0"
3030
31- val genericPersistence = " 0.8-SNAPSHOT "
31+ val genericPersistence = " 0.8.0 "
3232
3333 val gson = " 2.8.0"
3434
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionSch
44
55resolvers += " Softnetwork releases" at " https://softnetwork.jfrog.io/artifactory/releases/"
66
7- addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-git" % " 0.1.7 " )
7+ addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-git" % " 0.2.0 " )
88
9- addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-info" % " 0.1.7 " )
9+ addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-info" % " 0.2.0 " )
1010
11- addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-publish" % " 0.1.7 " )
11+ addSbtPlugin(" app.softnetwork.sbt-softnetwork" % " sbt-softnetwork-publish" % " 0.2.0 " )
1212
1313addDependencyTreePlugin
1414
1515addSbtPlugin(" net.virtual-void" % " sbt-dependency-graph" % " 0.9.2" )
1616
17- addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 2.0.8 " )
17+ addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 2.3.0 " )
You can’t perform that action at this time.
0 commit comments