File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 - name : setup SBT
3838 uses : sbt/setup-sbt@v1
3939
40+ - name : check code ${{ matrix.scala }}
41+ run : sbt ++${{ matrix.scala }} clean check
42+
4043 - name : build ${{ matrix.scala }}
4144 run : sbt ++${{ matrix.scala }} clean coverage test
4245
Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10- uses : evolution-gaming/scala-github-actions/.github/workflows/release.yml@v3
10+ uses : evolution-gaming/scala-github-actions/.github/workflows/release.yml@v4
1111 secrets : inherit
Original file line number Diff line number Diff line change 1- import Dependencies ._
1+ import Dependencies .*
22
33def crossSettings [T ](scalaVersion : String , if3 : T , if2 : T ) = {
44 scalaVersion match {
@@ -20,6 +20,8 @@ organizationName := "Evolution"
2020organizationHomepage := Some (url(" https://evolution.com" ))
2121coverageExcludedFiles := " .*CacheOpsCompat.*"
2222
23+ versionPolicyIntention := Compatibility .BinaryCompatible
24+
2325scalaVersion := crossScalaVersions.value.head
2426
2527crossScalaVersions := Seq (" 2.13.16" , " 3.3.5" )
@@ -83,5 +85,5 @@ developers := List(
8385
8486publishTo := Some (Resolver .evolutionReleases)
8587
86- // addCommandAlias("check", "all versionPolicyCheck Compile/doc")
87- addCommandAlias(" check " , " show version " )
88+ addCommandAlias(" check" , " all versionPolicyCheck Compile/doc" )
89+ addCommandAlias(" build " , " all test package " )
Original file line number Diff line number Diff line change 1- sbt.version =1.10.10
1+ sbt.version =1.10.11
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.15")
55// This sets the 'version' property based on the git tag during release process to publish the right version
66addSbtPlugin(" com.github.sbt" % " sbt-dynver" % " 5.1.0" )
77
8+ addSbtPlugin(" ch.epfl.scala" % " sbt-version-policy" % " 3.2.1" )
9+
810addSbtPlugin(" com.evolution" % " sbt-scalac-opts-plugin" % " 0.0.9" )
911
1012addSbtPlugin(" com.evolution" % " sbt-artifactory-plugin" % " 0.0.2" )
You can’t perform that action at this time.
0 commit comments