Skip to content

Commit

Permalink
Ignore Scala 2.11 From Docs Project (#130)
Browse files Browse the repository at this point in the history
* update zio-sbt-website plugin.

* ignore scala 2.11 from docs project.
  • Loading branch information
khajavi authored Jan 15, 2023
1 parent 8f610e9 commit c07a615
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
distribution: temurin
java-version: 17
check-latest: true
- name: Check that site workflow is up to date
- name: Check if the README file is up to date
run: sbt docs/checkReadme
- name: Check if the site workflow is up to date
run: sbt docs/checkGithubWorkflow
- name: Check artifacts build process
run: sbt +publishLocal
- name: Check website build process
run: sbt docs/buildWebsite
run: sbt docs/clean; sbt docs/buildWebsite
publish-docs:
name: Publish Docs
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ lazy val docs = project
moduleName := "zio-cache-docs",
scalacOptions -= "-Yno-imports",
scalacOptions -= "-Xfatal-warnings",
crossScalaVersions -= "2.11.12",
projectName := "ZIO Cache",
mainModuleName := (zioCacheJVM / moduleName).value,
projectStage := ProjectStage.Development,
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ addSbtPlugin("org.scalameta" % "sbt-mdoc"
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("pl.project13.scala" % "sbt-jcstress" % "0.2.0")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3")
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.2")
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.4")

libraryDependencies += "org.snakeyaml" % "snakeyaml-engine" % "2.5"

Expand Down

0 comments on commit c07a615

Please sign in to comment.