From 68eaa4b14d46de22ed0ef1b9af77365274567117 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 10 May 2024 11:58:00 +0200 Subject: [PATCH 1/3] Update --- .github/workflows/verdepcheck.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index 9dd4a5e2..152f3fb5 100644 --- a/.github/workflows/verdepcheck.yaml +++ b/.github/workflows/verdepcheck.yaml @@ -102,6 +102,13 @@ jobs: additional-env-vars: ${{ inputs.additional-env-vars }} strategy: ${{ env.strategy }} + - name: Check cache + run: | + echo "Home is at: $(echo ~)" + echo "pkgcache is at:" + R -e 'pkgcache::pkg_cache_summary()$cachepath' + shell: bash + - name: GChat notification 🔔 if: (failure() || cancelled()) && steps.verdepcheck.outcome != 'success' && env.gchat_webhook != '' uses: insightsengineering/google-chat-notification@master From e80468376b4575c795e6b7d945f769ad197e5176 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 10 May 2024 12:23:17 +0200 Subject: [PATCH 2/3] Update --- .github/workflows/verdepcheck.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index 152f3fb5..b151992d 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 @@ -107,6 +114,7 @@ jobs: echo "Home is at: $(echo ~)" echo "pkgcache is at:" R -e 'pkgcache::pkg_cache_summary()$cachepath' + ls -lR ~/.cache/R/pkgcache/pkg shell: bash - name: GChat notification 🔔 From 825e57b15497feb2122c713173ae9df26c44d40c Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 10 May 2024 12:39:45 +0200 Subject: [PATCH 3/3] Remove debug --- .github/workflows/verdepcheck.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index b151992d..4a15a21d 100644 --- a/.github/workflows/verdepcheck.yaml +++ b/.github/workflows/verdepcheck.yaml @@ -109,14 +109,6 @@ jobs: additional-env-vars: ${{ inputs.additional-env-vars }} strategy: ${{ env.strategy }} - - name: Check cache - run: | - echo "Home is at: $(echo ~)" - echo "pkgcache is at:" - R -e 'pkgcache::pkg_cache_summary()$cachepath' - ls -lR ~/.cache/R/pkgcache/pkg - shell: bash - - name: GChat notification 🔔 if: (failure() || cancelled()) && steps.verdepcheck.outcome != 'success' && env.gchat_webhook != '' uses: insightsengineering/google-chat-notification@master