Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
jobs:
build_scala2_12:
runs-on: ubuntu-latest
env:
# define Java options for both official sbt and sbt-extras
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms2048M -Xmx2048M -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
strategy:
fail-fast: false
matrix:
Expand All @@ -24,4 +28,9 @@ jobs:
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and test
run: sbt -v -Dfile.encoding=UTF-8 clean scalafmtCheckAll headerCheck test scripted
shell: bash
run: sbt -v clean scalafmtCheckAll headerCheck test scripted
- name: Build site
if: ${{ matrix.java-version == 8 }}
shell: bash
run: sbt -v makeSite
5 changes: 2 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.9.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.3") // check if the site actually builds
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.3.3") // check if the site actually builds
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.0")