Skip to content

Commit

Permalink
feature: use the latest version of pandoc in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
etorreborre committed Nov 12, 2024
1 parent 42f06d4 commit a3685b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 0 additions & 2 deletions guide/src/test/scala/org/specs2/guide/HtmlOutput.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit a3685b6

Please sign in to comment.