Skip to content

Commit e1c3644

Browse files
authored
Actions fix (#22)
* fix action * fix * fix
1 parent 1d19d6c commit e1c3644

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/check-standard.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
config:
1818
- {os: windows-latest, r: 'release'}
1919
- {os: macOS-latest, r: 'release'}
20-
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
20+
- {os: ubuntu-24.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
2121

2222
env:
2323
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
2424
RSPM: ${{ matrix.config.rspm }}
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0 # required for mirroring, see https://stackoverflow.com/a/64272409/474349
3030

@@ -39,11 +39,11 @@ jobs:
3939
xargs -L1 git config --unset-all
4040
git push --prune https://token:[email protected]/${CLOUDYR_REPO}.git +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*
4141
42-
- uses: r-lib/actions/setup-r@master
42+
- uses: r-lib/actions/setup-r@v2
4343
with:
4444
r-version: ${{ matrix.config.r }}
4545

46-
- uses: r-lib/actions/setup-pandoc@master
46+
- uses: r-lib/actions/setup-pandoc@v2
4747

4848
- name: Query dependencies
4949
run: |
@@ -54,11 +54,11 @@ jobs:
5454

5555
- name: Cache R packages
5656
if: runner.os != 'Windows'
57-
uses: actions/cache@v2
57+
uses: actions/cache@v3
5858
with:
5959
path: ${{ env.R_LIBS_USER }}
6060
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
61-
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
61+
# restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-5-
6262

6363
- name: Install system dependencies
6464
if: runner.os == 'Linux'
@@ -85,7 +85,7 @@ jobs:
8585

8686
- name: Upload check results
8787
if: failure()
88-
uses: actions/upload-artifact@main
88+
uses: actions/upload-artifact@v4
8989
with:
9090
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
9191
path: check

0 commit comments

Comments
 (0)