Skip to content

Commit 0889dec

Browse files
Update r.yml
1 parent 880b7e1 commit 0889dec

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/r.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2-
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
31
on:
42
push:
53
branches: [main, master]
@@ -11,7 +9,6 @@ name: R-CMD-check
119
jobs:
1210
R-CMD-check:
1311
runs-on: ${{ matrix.config.os }}
14-
1512
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
1613

1714
strategy:
@@ -38,6 +35,7 @@ jobs:
3835
r-version: ${{ matrix.config.r }}
3936
http-user-agent: ${{ matrix.config.http-user-agent }}
4037
use-public-rspm: true
38+
4139
- name: Cache R packages
4240
uses: actions/cache@v3
4341
with:
@@ -54,11 +52,11 @@ jobs:
5452
remotes::install_github("doseresponse/drc")
5553
shell: Rscript {0}
5654

57-
- uses: r-lib/actions/setup-r-dependencies@v1
55+
- uses: r-lib/actions/setup-r-dependencies@v2
5856
with:
5957
extra-packages: rcmdcheck
6058

61-
- uses: r-lib/actions/check-r-package@v1
59+
- uses: r-lib/actions/check-r-package@v2
6260

6361
- name: Show testthat output
6462
if: always()
@@ -67,7 +65,7 @@ jobs:
6765

6866
- name: Upload check results
6967
if: failure()
70-
uses: actions/upload-artifact@main
68+
uses: actions/upload-artifact@v3
7169
with:
7270
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
7371
path: check

0 commit comments

Comments
 (0)