From b6c324832a9af51f96b3405903b1b08c9aa12b82 Mon Sep 17 00:00:00 2001 From: Tim Bates <timothy.c.bates@gmail.com> Date: Sun, 17 Nov 2024 23:35:56 +0000 Subject: [PATCH] Update r.yml --- .github/workflows/r.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index e3b25b88..26a30fe4 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -17,13 +17,13 @@ jobs: r-version: ['4.2', '4.4.1'] steps: - uses: actions/cache@v3 - - uses: actions/checkout@v4 - with: - path: ~/.R/library + with: + path: ~/.R/library key: ${{ runner.os }}-r-${{ matrix.r-version }}-${{ hashFiles('**/DESCRIPTION') }} restore-keys: | ${{ runner.os }}-r-${{ matrix.r-version }}- ${{ runner.os }}-r- + - uses: actions/checkout@v4 - name: Set up R ${{ matrix.r-version }} uses: r-lib/actions/setup-r@v2 with: