From 48440bfe5928fd5e1f8b123f10f2657dac53f281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Li=C3=A9tar?= Date: Wed, 4 Dec 2024 14:58:40 +0000 Subject: [PATCH] update --- .github/workflows/R-CMD-check.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 088a4880..e86e45e1 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -34,6 +34,14 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: r-lib/actions/setup-pandoc@v2 + + - uses: r-lib/actions/setup-r@v2 + with: + r-version: ${{ matrix.config.r }} + http-user-agent: ${{ matrix.config.http-user-agent }} + use-public-rspm: true + # Compiling outpack server from source takes a few minutes each time. # This action will cache the result and re-use it on subsequent builds. # The cache is keyed by Git revision, allowing us to pick up new versions @@ -45,14 +53,6 @@ jobs: git: https://github.com/mrc-ide/outpack_server cache-key: ${{ github.sha }} - - uses: r-lib/actions/setup-pandoc@v2 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} - use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck