File tree Expand file tree Collapse file tree 6 files changed +20
-18
lines changed Expand file tree Collapse file tree 6 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,23 @@ jobs:
1515 strategy :
1616 matrix :
1717 os : [ubuntu-latest]
18- java : [8, 21 ]
18+ java : ['temurin:8', 'temurin:21' ]
1919 runs-on : ${{ matrix.os }}
2020 env :
2121 # define Java options for both official sbt and sbt-extras
22- JAVA_OPTS : -Dfile.encoding=UTF-8
22+ JAVA_OPTS : -Dfile.encoding=UTF-8
2323 JVM_OPTS : -Dfile.encoding=UTF-8
2424 ADDITIONAL_JVM_OPTS : -Djava.security.manager=allow
2525 steps :
2626 - name : Checkout
2727 uses : actions/checkout@v4
28- - name : Set up JVM
29- uses : actions/setup-java@v4
28+ - name : Setup cache
29+ uses : coursier/cache-action@v6
30+ - name : Setup jdk and sbt
31+ uses : coursier/setup-action@v1
3032 with :
31- distribution : ' temurin'
32- java-version : ${{ matrix.java }}
33- cache : ' sbt'
33+ jvm : ${{ matrix.java }}
34+ apps : sbt
3435 - name : Test
3536 shell : bash
3637 run : sbt -v clean test scripted
Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ jobs:
1616 uses : actions/checkout@v4
1717 with :
1818 fetch-depth : 0
19- - name : Set up JVM
20- uses : actions/setup-java@v4
19+ - name : Setup cache
20+ uses : coursier/cache-action@v6
21+ - name : Setup jdk and sbt
22+ uses : coursier/setup-action@v1
2123 with :
22- distribution : ' temurin'
23- java-version : ' 8'
24- cache : ' sbt'
24+ jvm : ' temurin:8'
25+ apps : sbt
2526 - name : Release
2627 run : sbt ci-release
2728 env :
Original file line number Diff line number Diff line change 11version = "3.8.0"
22maxColumn = 120
33project.git = true
4- runner.dialect = scala212
4+ runner.dialect = scala212source3
55
66# http://docs.scala-lang.org/style/scaladoc.html recommends the JavaDoc style.
77# scala/scala is written that way too https://github.com/scala/scala/blob/v2.12.2/src/library/scala/Predef.scala
Original file line number Diff line number Diff line change 11val mvnVersion = " 3.9.4"
22val mvnResolverVersion = " 1.9.18"
3- val scala212 = " 2.12.19 "
3+ val scala212 = " 2.12.20 "
44
55ThisBuild / organization := " com.github.sbt"
66ThisBuild / licenses := Seq (" Apache-2.0" -> url(" http://opensource.org/licenses/Apache-2.0" ))
Original file line number Diff line number Diff line change 1- sbt.version =1.9 .9
1+ sbt.version =1.10 .9
Original file line number Diff line number Diff line change 1- addSbtPlugin(" com.eed3si9n" % " sbt-nocomma" % " 0.1.1 " )
2- addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.5.12 " )
3- addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.2 " )
1+ addSbtPlugin(" com.eed3si9n" % " sbt-nocomma" % " 0.1.2 " )
2+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.9.2 " )
3+ addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4 " )
You can’t perform that action at this time.
0 commit comments