Skip to content

Commit 5e816e6

Browse files
authored
[CI] Upgrade setup-r. (dmlc#10267)
1 parent 5de5743 commit 5e816e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/r_tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
with:
3030
submodules: 'true'
3131

32-
- uses: r-lib/actions/setup-r@b7e68d63e51bdf225997973e2add36d551f60f02 # v2.8.7
32+
- uses: r-lib/actions/setup-r@929c772977a3a13c8733b363bf5a2f685c25dd91 # v2.9.0
3333
with:
3434
r-version: ${{ matrix.config.r }}
3535

3636
- name: Cache R packages
3737
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11
3838
with:
3939
path: ${{ env.R_LIBS_USER }}
40-
key: ${{ runner.os }}-r-${{ matrix.config.r }}-6-${{ hashFiles('R-package/DESCRIPTION') }}
41-
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-6-${{ hashFiles('R-package/DESCRIPTION') }}
40+
key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
41+
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
4242

4343
- name: Install dependencies
4444
shell: Rscript {0}
@@ -73,16 +73,16 @@ jobs:
7373
with:
7474
submodules: 'true'
7575

76-
- uses: r-lib/actions/setup-r@b7e68d63e51bdf225997973e2add36d551f60f02 # v2.8.7
76+
- uses: r-lib/actions/setup-r@929c772977a3a13c8733b363bf5a2f685c25dd91 # v2.9.0
7777
with:
7878
r-version: ${{ matrix.config.r }}
7979

8080
- name: Cache R packages
8181
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11
8282
with:
8383
path: ${{ env.R_LIBS_USER }}
84-
key: ${{ runner.os }}-r-${{ matrix.config.r }}-6-${{ hashFiles('R-package/DESCRIPTION') }}
85-
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-6-${{ hashFiles('R-package/DESCRIPTION') }}
84+
key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
85+
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
8686

8787
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
8888
with:

0 commit comments

Comments
 (0)