Skip to content

Update actions#346

Open
cderv wants to merge 1 commit intomainfrom
gha/updates
Open

Update actions#346
cderv wants to merge 1 commit intomainfrom
gha/updates

Conversation

@cderv
Copy link
Copy Markdown
Collaborator

@cderv cderv commented Apr 13, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions workflows to use newer action versions and adjusts Pandoc versions used in CI to cover newer and nightly builds.

Changes:

  • Bumped actions/checkout references in workflows.
  • Updated R-CMD-check matrix Pandoc versions (including adding a nightly run and reintroducing 3.1.1 coverage on Ubuntu).
  • Switched daily Pandoc “devel” workflow to install Pandoc via r-lib/actions/setup-pandoc@v2 with pandoc-version: nightly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/update-examples.yaml Updates the checkout action version used when building/deploying examples.
.github/workflows/R-CMD-check.yaml Updates checkout action version; refreshes Pandoc matrix entries and coverage trigger Pandoc version.
.github/workflows/check-pandoc-daily.yaml Updates checkout action version; changes Pandoc install step to setup-pandoc with nightly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cderv
Copy link
Copy Markdown
Collaborator Author

cderv commented Apr 13, 2026

@yihui it seems somehow that pagedown fails now in CI. Not sure why - but as you've made a new release to you see why ?

Also I see you have fork or redo actions at: https://github.com/yihui/actions/

Should we use that ? Is this supposed to help us better in rmarkdown ecosystem rather than using r-lib/actions ?

@yihui
Copy link
Copy Markdown
Contributor

yihui commented Apr 13, 2026

I don't know why from a quick look at the CI logs, either. It's failing on Windows and Ubuntu but not macOS. Perhaps you can let Claude have a quick look?

Also I see you have fork or redo actions at: https://github.com/yihui/actions/

Should we use that ? Is this supposed to help us better in rmarkdown ecosystem rather than using r-lib/actions ?

The benefit of using my actions for rmarkdown-related packages may not be significant. My actions are best for packages with a small number of deps, in which case using pak and rcmdcheck is often an overkill. I switched tinytex's actions over to mine mainly because tinytex has only one dependency.

@yihui
Copy link
Copy Markdown
Contributor

yihui commented Apr 13, 2026

BTW, given that Pandoc 3.0 is more than 3 years old now, perhaps we can drop the workflows for pandoc 2.x? For bookdown, I'm only testing two versions now: one version used by RStudio/Quarto, and the other is the latest version (to catch problems early).

@cderv
Copy link
Copy Markdown
Collaborator Author

cderv commented Apr 13, 2026

yes good idea. I've kept some versions known to have regression. and historically because default on ubuntu was an old pandoc. I don't know which is it now.

@yihui
Copy link
Copy Markdown
Contributor

yihui commented Apr 13, 2026

Ubuntu 24.04 has Pandoc 3.x: https://manpages.ubuntu.com/manpages/noble/man1/pandoc.1.html Older Ubuntu releases still have 2.x.

@cderv
Copy link
Copy Markdown
Collaborator Author

cderv commented Apr 13, 2026

Ok to do with Pandoc 3 has min ?

@yihui
Copy link
Copy Markdown
Contributor

yihui commented Apr 13, 2026

I'm fine with that. We can always add a version back when users actually find bugs there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants