Skip to content

Commit e85cf9f

Browse files
committed
update versions in some R-CMD-check workflow items
It's pretty annoying how we have to update these things every few months. Even though code can be static for years on end, we need to devote time to updating github action calls every few seasons. Also, since I'm whining here, is there really no way to test github actions apart from pushing a repo to github?
1 parent d4b393b commit e85cf9f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
1+
# GSW-R workflow derived from https://github.com/r-lib/actions/tree/master/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
33
on:
44
push:
5-
branches: [main, develop]
5+
branches:
6+
- main
7+
- develop
68
pull_request:
7-
branches: [main, develop]
9+
branches:
10+
- main
11+
- develop
812

913
name: R-CMD-check
1014

@@ -29,18 +33,15 @@ jobs:
2933
R_KEEP_PKG_SOURCE: yes
3034

3135
steps:
32-
- uses: actions/checkout@v2
33-
36+
- uses: actions/checkout@v3
3437
- uses: r-lib/actions/setup-pandoc@v2
35-
3638
- uses: r-lib/actions/setup-r@v2
3739
with:
3840
r-version: ${{ matrix.config.r }}
3941
http-user-agent: ${{ matrix.config.http-user-agent }}
4042
use-public-rspm: true
41-
42-
- uses: r-lib/actions/setup-r-dependencies@v1
43+
- uses: r-lib/actions/setup-r-dependencies@v2
4344
with:
4445
extra-packages: rcmdcheck
4546

46-
- uses: r-lib/actions/check-r-package@v1
47+
- uses: r-lib/actions/check-r-package@v2

0 commit comments

Comments
 (0)