Skip to content

Fix: Correct paths for r-lib/actions in CI workflow#4

Merged
pplupo merged 1 commit into
masterfrom
update-r-version-4.5.0
Jun 10, 2025
Merged

Fix: Correct paths for r-lib/actions in CI workflow#4
pplupo merged 1 commit into
masterfrom
update-r-version-4.5.0

Conversation

@pplupo
Copy link
Copy Markdown
Owner

@pplupo pplupo commented Jun 10, 2025

This commit corrects the uses: paths for actions from the r-lib/actions repository in the .github/workflows/R-CMD-check.yml file.

The following changes were made:

  • r-lib/actions/setup-R@v2 changed to r-lib/actions/setup-r@v2
  • r-lib/actions/setup-R-dependencies@v2 changed to r-lib/actions/setup-r-dependencies@v2
  • r-lib/actions/check-R-package@v2 changed to r-lib/actions/check-r-package@v2

These changes are necessary because the actions within the r-lib/actions monorepo are referenced by their specific directory names, which are lowercase. This fix addresses the "Can't find 'action.yml'" error previously encountered during workflow execution.

This commit corrects the `uses:` paths for actions from the `r-lib/actions` repository in the `.github/workflows/R-CMD-check.yml` file.

The following changes were made:
- `r-lib/actions/setup-R@v2` changed to `r-lib/actions/setup-r@v2`
- `r-lib/actions/setup-R-dependencies@v2` changed to `r-lib/actions/setup-r-dependencies@v2`
- `r-lib/actions/check-R-package@v2` changed to `r-lib/actions/check-r-package@v2`

These changes are necessary because the actions within the `r-lib/actions` monorepo are referenced by their specific directory names, which are lowercase. This fix addresses the "Can't find 'action.yml'" error previously encountered during workflow execution.
@pplupo pplupo merged commit b302cde into master Jun 10, 2025
1 check failed
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.

1 participant