diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ee9b4016..5fff6138c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,3 +54,21 @@ jobs: check-latest: true - name: Run tests run: sbt ++${{ matrix.scala }} test + + validate_doc: + runs-on: ubuntu-latest + steps: + - name: Checkout current branch + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Cache scala dependencies + uses: coursier/cache-action@v6 + - name: Setup Java + uses: actions/setup-java@v3.10.0 + with: + distribution: temurin + java-version: 17 + check-latest: true + - name: Validate documentation + run: sbt doc diff --git a/build.sbt b/build.sbt index c4d3f2edd..310722212 100644 --- a/build.sbt +++ b/build.sbt @@ -88,7 +88,7 @@ lazy val root = project zioKafka, zioKafkaTestUtils, zioKafkaTest, - zioKafkaBench, + zioKafkaBench ) def buildInfoSettings(packageName: String) = diff --git a/project/plugins.sbt b/project/plugins.sbt index 000cd45e3..53e19bf0f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,5 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") +addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.10") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.4")