Skip to content

Commit

Permalink
build: Update Mill to 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nightscape committed Aug 1, 2023
1 parent 01f8395 commit 3d855e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ jobs:
- uses: jodersky/setup-mill@master
with:
mill-version: 0.10.8
mill-version: 0.11.1
- name: Publish
run: mill -i io.kipp.mill.ci.release.ReleaseModule/publishAll
1 change: 1 addition & 0 deletions .mill-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.11.1
10 changes: 5 additions & 5 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import coursier.maven.MavenRepository
import mill._, scalalib._, publish._
import mill.modules.Assembly._

class SparkModule(_scalaVersion: String, sparkVersion: String) extends SbtModule with CiReleaseModule {
trait SparkModule extends Cross.Module2[String, String] with SbtModule with CiReleaseModule {
outer =>

override def scalaVersion = _scalaVersion
override def scalaVersion = crossValue
val sparkVersion = crossValue2

override def millSourcePath = super.millSourcePath / os.up / os.up / os.up

Expand Down Expand Up @@ -95,7 +95,7 @@ class SparkModule(_scalaVersion: String, sparkVersion: String) extends SbtModule
}
}

object test extends Tests with SbtModule with TestModule.ScalaTest {
object test extends SbtModuleTests with TestModule.ScalaTest {

override def millSourcePath = super.millSourcePath

Expand Down Expand Up @@ -143,4 +143,4 @@ val crossMatrix = {
// (spark34).map(spark => (scala212, spark))
}

object `spark-excel` extends Cross[SparkModule](crossMatrix: _*) {}
object `spark-excel` extends Cross[SparkModule](crossMatrix) {}

0 comments on commit 3d855e8

Please sign in to comment.