diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 2a0db39..c4cd779 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -20,6 +20,9 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - uses: actions/checkout@v3 + - name: Do a pre-emptive apt-update + run: sudo apt-get update -qq + if: ${{ !env.ACT }} - uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-r@v2 with: @@ -29,6 +32,7 @@ jobs: with: extra-packages: any::sessioninfo, any::rcmdcheck, any::pkgdepends, any::covr needs: check + cache: ${{ !env.ACT }} - name: Run just package tests and record test coverage run: | cat("LOGNAME=", Sys.info()[["user"]], "\n", sep = "", file = Sys.getenv("GITHUB_ENV"), append = TRUE) @@ -86,6 +90,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Do a pre-emptive apt-update + run: sudo apt-get update -qq + if: ${{ !env.ACT }} - uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-r@v2 with: @@ -97,6 +104,7 @@ jobs: with: extra-packages: any::sessioninfo, any::rcmdcheck, any::pkgdepends needs: check + cache: ${{ !env.ACT }} - uses: r-lib/actions/check-r-package@v2 with: