Skip to content

Commit 2c3f578

Browse files
committed
update r-cmd-check
1 parent 103f810 commit 2c3f578

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
name: R-CMD-check.yaml
4+
35
on:
4-
push:
5-
branches: [main, master]
66
pull_request:
7+
push:
8+
branches: [main]
79

8-
name: R-CMD-check.yaml
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
913

1014
permissions: read-all
1115

@@ -21,9 +25,7 @@ jobs:
2125
config:
2226
- {os: macos-latest, r: 'release'}
2327
- {os: windows-latest, r: 'release'}
24-
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
25-
- {os: ubuntu-latest, r: 'release'}
26-
- {os: ubuntu-latest, r: 'oldrel-1'}
28+
- {os: ubuntu-latest, r: 'release'}
2729

2830
env:
2931
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)