Fix R-CMD-check: update deprecated actions and retired ubuntu-20.04 runner#795
Open
PouyanJay wants to merge 1 commit into
Open
Fix R-CMD-check: update deprecated actions and retired ubuntu-20.04 runner#795PouyanJay wants to merge 1 commit into
PouyanJay wants to merge 1 commit into
Conversation
…nner GitHub now automatically fails any job using actions/cache < v3 latest or upload-artifact v2, and the ubuntu-20.04 hosted runner has been retired, so every R-CMD-check run currently fails during setup before R starts. - actions/cache v3.3.1 -> v4 - actions/upload-artifact v2 -> v4 (artifact names are already unique per job) - ubuntu-20.04 runner -> ubuntu-22.04, with matching RSPM repo (focal -> jammy) and remotes::system_requirements lookup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Every R-CMD-check run currently fails during job setup, before any R code executes, because GitHub now automatically rejects deprecated action versions and has retired the ubuntu-20.04 hosted runner:
(actions/cache notice, artifact actions notice, ubuntu-20.04 retirement)
Changes
actions/cachev3.3.1 → v4actions/upload-artifactv2 → v4 (both uses; artifact names were already unique per job, which v4 requires)ubuntu-20.04runner →ubuntu-22.04, with the RSPM repository (focal → jammy) andremotes::system_requirements()lookup updated to matchVerification
Run on my fork with these changes: https://github.com/PouyanJay/CommonDataModel/actions/runs/29622329863 — jobs now provision and execute (macOS completed successfully) instead of failing in ~4 seconds during setup.
Note: this also affects PR checks — currently every PR to this repo gets a red X from these setup failures regardless of its content (e.g. #794).