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 #221

Closed nanxstats closed 2 months ago

nanxstats commented 2 months ago

This PR updates all GitHub Actions workflows to the latest upstream version.

This also reverts the patch (https://github.com/Merck/r2rtf/commit/408cba0ecb3b9ca98980691c3e517fa1da3a3435, https://github.com/Merck/r2rtf/commit/5302ee78365d20fdd8cdad1976102d1eb66bc236) that ignored checking with emmeans in R < 4.3.0 because its dependency estimability 1.5.1 is now on CRAN, which only requires R >= 4.1.0 (consistent with emmeans).

nanxstats commented 2 months ago

The codecov upload in the updated test-coverage workflow now fails explicitly without a codecov token.

So I followed the guide in https://github.com/r-lib/actions/issues/834 to add a codecov token as a repository secret to make it work.

Update: looks like this is not working:

Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

We will need an org token, a personal token won't do. I've removed the repository secret.