File tree 3 files changed +34
-43
lines changed
3 files changed +34
-43
lines changed Original file line number Diff line number Diff line change
1
+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2
+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
+ on :
4
+ push :
5
+ branches : [main, dev]
6
+ pull_request :
7
+ branches : [main, dev]
8
+
9
+ name : R-CMD-check
10
+
11
+ jobs :
12
+ R-CMD-check :
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
16
+ R_KEEP_PKG_SOURCE : yes
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - uses : r-lib/actions/setup-r@v2
21
+ with :
22
+ use-public-rspm : true
23
+
24
+ - uses : r-lib/actions/setup-r-dependencies@v2
25
+ with :
26
+ extra-packages : any::rcmdcheck
27
+ needs : check
28
+
29
+ - uses : r-lib/actions/check-r-package@v2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2
2
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
3
on :
4
- workflow_run :
5
- workflows :
6
- - Document
7
- type :
8
- - completed
4
+ push :
5
+ branches : [main, dev]
6
+ pull_request :
7
+ branches : [main, dev]
9
8
10
- name : Lint
9
+ name : lint
11
10
12
11
jobs :
13
12
lint :
14
13
runs-on : ubuntu-latest
15
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
16
14
env :
17
15
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
18
16
steps :
19
17
- uses : actions/checkout@v3
20
- with :
21
- ref : ${{ github.event.workflow_run.head_branch }}
22
18
23
19
- uses : r-lib/actions/setup-r@v2
24
20
with :
You can’t perform that action at this time.
0 commit comments