From 37bce6321feb79d89f195b177fd07ebcb3af2097 Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Fri, 10 May 2024 13:32:45 +0200 Subject: [PATCH] Add cache to verdepcheck workflow (#230) --- .github/workflows/verdepcheck.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index 9dd4a5e2..4a15a21d 100644 --- a/.github/workflows/verdepcheck.yaml +++ b/.github/workflows/verdepcheck.yaml @@ -92,6 +92,13 @@ jobs: echo "gchat_webhook=${{ secrets.GCHAT_WEBHOOK }}" >> $GITHUB_ENV shell: bash + - name: Restore cache 💰 + uses: actions/cache@v4 + with: + key: verdepcheck-${{ runner.os }}-${{ github.event.repository.name }}-${{ env.strategy }} + path: | + ~/.cache/R/pkgcache/pkg + - name: Dependency Test - ${{ env.strategy }} 🔢 id: verdepcheck uses: insightsengineering/r-verdepcheck-action@main