Skip to content

Commit d6873a5

Browse files
authored
Update R-CMD-check.yaml
v4 instead of v2, and use ubuntu-latest instead of hard-coding version
1 parent d6a050e commit d6873a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
config:
2525
- {os: windows-latest, r: 'release'}
2626
- {os: macOS-latest, r: 'release'}
27-
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
28-
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
27+
- {os: ubuntu-latest, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
28+
- {os: ubuntu-latest, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
2929

3030
env:
3131
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Cache R packages
5252
if: runner.os != 'Windows'
53-
uses: actions/cache@v2
53+
uses: actions/cache@v4
5454
with:
5555
path: ${{ env.R_LIBS_USER }}
5656
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}

0 commit comments

Comments
 (0)