Skip to content

Commit

Permalink
reorder cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chinandrew committed Oct 26, 2020
1 parent 1e3df3f commit 55bb2a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/r_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
r-version: ${{ matrix.r-version }}
- name: Install libcurl
run: sudo apt-get install libcurl4-openssl-dev
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Cache R packages
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-1-
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: |
rcmdcheck::rcmdcheck(args = c("--no-manual", "--ignore-vignettes", "--as-cran"), build_args = c("--no-build-vignettes"), error_on = "error")
Expand Down

0 comments on commit 55bb2a6

Please sign in to comment.