From a3685b6edbef1b14d7b142c5eb6509db3751df2f Mon Sep 17 00:00:00 2001 From: etorreborre Date: Tue, 12 Nov 2024 10:09:58 +0100 Subject: [PATCH] feature: use the latest version of pandoc in CI --- .github/workflows/ci.yml | 4 ++-- build.sbt | 4 ++-- guide/src/test/scala/org/specs2/guide/HtmlOutput.scala | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65d4b5bc9..58d0601a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,9 +91,9 @@ jobs: run: sbt ci-release - name: Install Pandoc 🏁 - uses: r-lib/actions/setup-pandoc@v1 + uses: r-lib/actions/setup-pandoc@v2 with: - pandoc-version: 2.7.3 + pandoc-version: latest - name: Generate the specs2 website 📚 run: sbt unidoc 'guide/testOnly *Website -- xonly' diff --git a/build.sbt b/build.sbt index 9d362d222..44c71cdc5 100644 --- a/build.sbt +++ b/build.sbt @@ -384,8 +384,8 @@ lazy val releaseSettings: Seq[Setting[_]] = Seq( ), WorkflowStep.Use( name = Some("Install Pandoc 🏁"), - ref = UseRef.Public("r-lib/actions", "setup-pandoc", "v1"), - params = Map("pandoc-version" -> "2.7.3") + ref = UseRef.Public("r-lib/actions", "setup-pandoc", "v2"), + params = Map("pandoc-version" -> "latest") ), WorkflowStep .Sbt( diff --git a/guide/src/test/scala/org/specs2/guide/HtmlOutput.scala b/guide/src/test/scala/org/specs2/guide/HtmlOutput.scala index f72d896e6..259e99243 100644 --- a/guide/src/test/scala/org/specs2/guide/HtmlOutput.scala +++ b/guide/src/test/scala/org/specs2/guide/HtmlOutput.scala @@ -40,8 +40,6 @@ You can use the following arguments to change the HTML generation: [Markdown](http://commonmark.org) text is supported if [Pandoc](http://johnmacfarlane.net/pandoc) is available on the command line and if the `!pandoc` boolean flag is not set. -_NOTE!!!_: the currently supported version of Pandoc is `2.3`. - Name | Default value | Description ----------------------- | --------------------------------------------------------------------------------- | ------------------------------ `pandoc` | `true` | set to `false` by passing `!pandoc`