Skip to content

Commit

Permalink
Update flexmark-all to latest 0.64.8 (#809)
Browse files Browse the repository at this point in the history
* Update flexmark-all to latest 0.64.8

* Remove java 8 from CI workflows.

* Remove references to java8 in .mergify.yml.

* Remove references to java 8 in `build.sbt`.

* Use `-release 8` for scala 2.12.

Co-authored-by: Tomasz Godzik <[email protected]>

---------

Co-authored-by: Tomasz Godzik <[email protected]>
  • Loading branch information
mrdziuban and tgodzik authored Oct 19, 2023
1 parent c859db1 commit 7a650e1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 11
distribution: adopt
- run: ./bin/scalafmt --test
docs:
Expand All @@ -27,7 +27,7 @@ jobs:
node-version: "16"
- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 11
distribution: adopt
- run: sbt '++2.12.18 docs/mdoc'
test-windows:
Expand All @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [8, 11, 17]
java: [11, 17]
command:
# Test legacy Scala versions, where reporting API changed
- "'++2.12.12! test'"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: "16"
- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 11
distribution: adopt
- uses: olafurpg/setup-gpg@v3
- run: sbt '++2.12.18 docs/docusaurusPublishGhpages'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: "16"
- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 11
distribution: adopt
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
Expand Down
5 changes: 0 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ pull_request_rules:
- check-success=Scalafmt
- check-success=Website
- check-success=Windows
- check-success="'++2.12.12! test' [email protected]"
- check-success="'++2.12.18 test' [email protected]"
- check-success="'++2.13.12 test' [email protected]"
- check-success="'++3.3.0 test' [email protected]"
- check-success="scripted [email protected]"
- check-success="'++2.12.12! test' [email protected]"
- check-success="'++2.12.18 test' [email protected]"
- check-success="'++2.13.12 test' [email protected]"
Expand Down
14 changes: 4 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,14 @@ lazy val sharedSettings = List(
scalacOptions ++= crossSetting(
scalaVersion.value,
if2 = List("-Yrangepos", "-deprecation"),
if213 = List("-release", "8"),
if212 = List("-Xexperimental", "-target:jvm-1.8"),
if213 = List("-release", "11"),
if212 = List("-Xexperimental", "-release", "8"),
if3 = List("-language:implicitConversions", "-Ximport-suggestion-timeout", "0")
)
)

lazy val sharedJavaSettings = List(
javacOptions ++= {
val version = System.getProperty("java.version")
if (version.startsWith("1.8"))
Seq()
else
Seq("--release", "8")
}
javacOptions ++= Seq("--release", "11")
)

val V = new {
Expand Down Expand Up @@ -185,7 +179,7 @@ lazy val cli = project
crossScalaVersions := allScalaVersions,
libraryDependencies ++= List(
"io.get-coursier" % "interface" % V.coursier,
"com.vladsch.flexmark" % "flexmark-all" % "0.62.2",
"com.vladsch.flexmark" % "flexmark-all" % "0.64.8",
"com.lihaoyi" %% "pprint" % V.pprint,
"com.geirsson" %% "metaconfig-typesafe-config" % V.metaconfig
),
Expand Down

0 comments on commit 7a650e1

Please sign in to comment.