From a843e24023a3c15e20d75351d0186c09ba6440d3 Mon Sep 17 00:00:00 2001 From: Charlotte Soneson Date: Mon, 29 Apr 2024 09:44:24 +0200 Subject: [PATCH] Manually clear cache on GHA, use newer Docker container --- .github/workflows/R-CMD-check.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 3bc3c1a..a7e2940 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -21,7 +21,7 @@ jobs: config: - { os: macOS-latest, bioc: 'release', curlConfigPath: '/usr/bin/'} - { os: windows-latest, bioc: 'release'} - - { os: ubuntu-latest, image: "bioconductor/bioconductor_docker:RELEASE_3_17", cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"} + - { os: ubuntu-latest, image: "bioconductor/bioconductor_docker:RELEASE_3_18", cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"} env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true @@ -30,6 +30,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} CURL_CONFIG: ${{ matrix.config.curlConfigPath }}curl-config + cache-version: v1 steps: - name: Check out repo @@ -60,8 +61,8 @@ jobs: uses: actions/cache@v1 with: path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-bioc-${{ matrix.config.bioc }}-${{ hashFiles('depends.Rds') }} - restore-keys: ${{ runner.os }}-bioc-${{ matrix.config.bioc }}- + key: ${{ env.cache-version }}-${{ runner.os }}-bioc-${{ matrix.config.bioc }}-${{ hashFiles('depends.Rds') }} + restore-keys: ${{ env.cache-version }}-${{ runner.os }}-bioc-${{ matrix.config.bioc }}- - name: Install system dependencies (Linux) if: runner.os == 'Linux'