Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh GitHub actions CI workflow based on r-lib/actions v2 #27

Merged
merged 6 commits into from
Mar 10, 2022

Conversation

riccardoporreca
Copy link
Member

See #26 and individual commits for details

* This should not be an issue anymore on `r-devel`, see #26 and r-lib/actions#339

This reverts commit 3a07928.
* This should not be an issue anymore on `r-devel`, see #26 and r-lib/actions#339

This reverts commit cd896d1.
…` examples

* Closes #26.
* Latest setup got via `usethis::use_github_action("check-standard", save_as = "ci.yaml")`, using development `usethis` version (to support relying on the default branch, now `v2-branch`).
* `covr` installed via pak, so it is cached alongside the other dependencies. (Not done as part of `setup-r-dependencies` for all jobs, since it is only used in conditional steps.)
* Drop fixing macOS symlinks (fixed in `v2`), but keep the 5 minutes timeout for setup-r (#24), since r-lib/actions#435 isn't fully addressed.
* As in the `check-standard-example`.
* The Ubuntu version had to be fixed to specify the specific RSPM URL explicitly, which is now internally handled in a dynamic way in `r-lib/setup-r@v2` with `use-public-rspm: true`.
Copy link
Contributor

@Chargothrond Chargothrond left a comment

Choose a reason for hiding this comment

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

Looks good to me. I am familiar with most of the updates and which steps can be removed now thanks to the v2 r-lib/actions. Also, the updates to the windows and mac jobs are explained in #26.

I assume valgrind being skipped is expected?

@riccardoporreca
Copy link
Member Author

Thanks for the review @Chargothrond

I assume valgrind being skipped is expected?

It is in fact run for as part of the PR checks (skipped on the branch)

@riccardoporreca riccardoporreca merged commit 87b5129 into master Mar 10, 2022
@riccardoporreca riccardoporreca deleted the feature/26-r-lib-actions-v2 branch March 10, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants