diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 466f669..b5bdc57 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -84,14 +84,15 @@ jobs: install.packages('remotes') saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") + cat(".github/R-version") shell: Rscript {0} - name: Restore R package cache uses: actions/cache@v3 with: path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} - restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- + key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2-${{ hashFiles('.github/depends.Rds') }} + restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2- - name: Install OS dependencies if: runner.os == 'Linux'