Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Install and cache R dependencies to speed up CI build, upgrade pandoc
  • Loading branch information
rmartinsanta authored Nov 23, 2024
1 parent d071620 commit 5aba306
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pandoc-version: '3.1.11' # The pandoc version to download (if necessary) and use.
install-pandoc: TRUE
pandoc-version: '3.5'
upgrade: TRUE
extra-packages: |
any::httr
any::rjson
any::base64enc
any::remotes
- name: Install curl libs
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev libssl-dev
- name: Set up JDK 21
Expand Down

0 comments on commit 5aba306

Please sign in to comment.