File tree 1 file changed +5
-18
lines changed
1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : macOS -latest
11
+ runs-on : ubuntu -latest
12
12
env :
13
13
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
14
14
steps :
15
15
- name : Checkout repo
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v3
17
17
with :
18
18
fetch-depth : 0
19
19
20
- - name : Setup R
21
- uses : r-lib/actions/setup-r@v2
20
+ - uses : r-lib/actions/setup-r@v2
22
21
23
- - name : Install pandoc
24
- run : |
25
- brew install pandoc
22
+ - uses : r-lib/actions/setup-pandoc@v2
26
23
27
- - name : Cache Renv packages
28
- uses : actions/cache@v2
29
- with :
30
- path : $HOME/.local/share/renv
31
- key : r-${{ hashFiles('renv.lock') }}
32
- restore-keys : r-
24
+ - uses : r-lib/actions/setup-renv@v2
33
25
34
- - name : Install packages
35
- run : |
36
- R -e 'install.packages("renv")'
37
- R -e 'renv::restore()'
38
-
39
26
- name : Install dependencies
40
27
run : Rscript -e 'install.packages(c("rmarkdown","gh", "tidyverse"))'
41
28
You can’t perform that action at this time.
0 commit comments