Skip to content

Commit 09eab51

Browse files
committed
2 parents f1ad2d3 + e1c5132 commit 09eab51

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

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

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
33
on:
44
push:
5-
branches:
6-
- main
7-
- master
5+
branches: [main]
86
pull_request:
9-
branches:
10-
- main
11-
- master
12-
7+
branches: [main]
8+
139
name: R-CMD-check
1410

1511
jobs:
@@ -22,24 +18,24 @@ jobs:
2218
fail-fast: false
2319
matrix:
2420
config:
25-
- {os: windows-latest, r: 'release'}
2621
- {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", http-user-agent: "R/4.1.0 (ubuntu-20.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
29-
22+
- {os: windows-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24+
- {os: ubuntu-latest, r: 'release'}
25+
- {os: ubuntu-latest, r: 'oldrel-1'}
3026
env:
3127
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
3228
RSPM: ${{ matrix.config.rspm }}
3329
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3430

3531
steps:
36-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v4
3733

3834
- uses: r-lib/actions/setup-r@v2
3935
with:
4036
r-version: ${{ matrix.config.r }}
4137

42-
- uses: r-lib/actions/setup-pandoc@v1
38+
- uses: r-lib/actions/setup-pandoc@v2
4339

4440
- name: Query dependencies
4541
run: |

.github/workflows/pkgdown.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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, master]
5+
branches: [main]
66
pull_request:
7-
branches: [main, master]
7+
branches: [main]
88
release:
99
types: [published]
1010
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- uses: r-lib/actions/setup-pandoc@v2
2626

.github/workflows/test-coverage.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
1+
# 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, master]
5+
branches: [main]
66
pull_request:
7-
branches: [main, master]
7+
branches: [main]
88

99
name: test-coverage
1010

@@ -15,7 +15,7 @@ jobs:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- uses: r-lib/actions/setup-r@v2
2121
with:
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Upload test results
4646
if: failure()
47-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: coverage-test-failures
5050
path: ${{ runner.temp }}/package

0 commit comments

Comments
 (0)