diff --git a/.github/workflows/end-to-end.yml b/.github/workflows/end-to-end.yml index cb69948ac..249ed9ee6 100644 --- a/.github/workflows/end-to-end.yml +++ b/.github/workflows/end-to-end.yml @@ -25,7 +25,7 @@ jobs: shell: Rscript {0} - name: Cache R packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} diff --git a/.github/workflows/hook-tests.yaml b/.github/workflows/hook-tests.yaml index 2d68d9597..883832ace 100644 --- a/.github/workflows/hook-tests.yaml +++ b/.github/workflows/hook-tests.yaml @@ -34,21 +34,21 @@ jobs: shell: Rscript {0} - name: Cache R packages (macOs) if: startsWith(runner.os, 'macOS') - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/Library/Application Support/renv key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('renv.lock') }} restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- - name: Cache R packages (Linux) if: startsWith(runner.os, 'Linux') - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.local/share/renv key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('renv.lock') }} restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- - name: Cache R packages (Windows) if: startsWith(runner.os, 'Windows') - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\AppData\Local\renv key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('renv.lock') }}