Merck / r2rtf

Easily Create Production-Ready Rich Text Format (RTF) Table and Figure
https://merck.github.io/r2rtf
GNU General Public License v3.0
76 stars 19 forks source link

Update GitHub Actions workflows to upstream latest versions #212

Closed nanxstats closed 5 months ago

nanxstats commented 5 months ago

This PR updates all GitHub Actions workflows to their latest versions from upstream (r-lib/actions).

The upstream changes mostly involves updating actions/checkout and actions/upload-artifact to v4, which updated the default runtime to Node.js 20.

I just ran

usethis::use_github_action("check-standard")
usethis::use_github_action("pkgdown")
usethis::use_github_action("test-coverage")
usethis::use_github_action("style")

Also, this fixes #213.

nanxstats commented 5 months ago

The segmentation fault you see in macOS is similar to https://github.com/tidyverse/dplyr/issues/6961. Not related to the PR.

nanxstats commented 5 months ago

I created an issue on a possible cause after looking into the problematic test file: https://github.com/Merck/r2rtf/issues/213 Not entirely sure if it's relevant.

nanxstats commented 5 months ago

OK, here is what I found and did to improve the testing situation, now this is ready: