File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
31on :
42 push :
53 branches : [main, master]
2018 config :
2119 - {os: macos-latest, r: 'release'}
2220 - {os: windows-latest, r: 'release'}
23- - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release' }
21+ - {os: ubuntu-latest, r: 'devel'}
2422 - {os: ubuntu-latest, r: 'release'}
2523 - {os: ubuntu-latest, r: 'oldrel-1'}
2624
@@ -49,11 +47,19 @@ jobs:
4947 http-user-agent : ${{ matrix.config.http-user-agent }}
5048 use-public-rspm : true
5149
50+ # Cache R packages to speed up builds
51+ - name : Cache R packages
52+ uses : actions/cache@v3
53+ with :
54+ path : ~/.cache/R
55+ key : ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('**/DESCRIPTION') }}
56+ restore-keys : ${{ runner.os }}-r-${{ matrix.config.r }}
57+
5258 - uses : r-lib/actions/setup-r-dependencies@v2
5359 with :
5460 extra-packages : any::rcmdcheck
5561 needs : check
5662
5763 - uses : r-lib/actions/check-r-package@v2
5864 with :
59- upload-snapshots : true
65+ upload-snapshots : true
You can’t perform that action at this time.
0 commit comments