diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a3709594..6fb8db46 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -42,17 +42,16 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - # This does take a minute or two to install, and we could cache - # it but that's not super easy while still allowing easy - # updating. Once things stabilise we might tag outpack server - # releases and then we can install and cache against that. - # - # This now hangs on macOS, will explore binary builds for the - # server in mrc-4515, disabling on mac now. - - name: setup server - if: runner.os != 'macOS' - run: | - cargo install --git https://github.com/mrc-ide/outpack_server --branch main --locked --features git2/vendored-libgit2 + # 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 + # of the server immediately. + - name: Install outpack server + uses: baptiste0928/cargo-install@v3 + with: + crate: outpack + git: https://github.com/mrc-ide/outpack_server + features: git2/vendored-libgit2 - uses: r-lib/actions/setup-r-dependencies@v2 with: diff --git a/DESCRIPTION b/DESCRIPTION index a3e84498..26fe812d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: orderly2 Title: Orderly Next Generation -Version: 1.99.31 +Version: 1.99.32 Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"), email = "rich.fitzjohn@gmail.com"), person("Robert", "Ashton", role = "aut"),