From 6382b574dd2e3d5b57c26b87041085b4597a1767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Sard=C3=A1?= Date: Wed, 16 Mar 2022 21:07:35 +0100 Subject: [PATCH] Try apt-get update before installing valgrind --- .github/workflows/check-valgrind.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-valgrind.yaml b/.github/workflows/check-valgrind.yaml index 676a274b..a7138e4b 100644 --- a/.github/workflows/check-valgrind.yaml +++ b/.github/workflows/check-valgrind.yaml @@ -14,7 +14,7 @@ jobs: with: path: | src - key: valgrind-${{ hashFiles('src/**') }} + key: valgrind-1-${{ hashFiles('src/**') }} outputs: run_check: ${{ steps.cache_hit.outputs.cache-hit }} R-CMD-check: @@ -40,6 +40,7 @@ jobs: - name: Install valgrind run: | + /usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt-get update -y -qq /usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt-get install -y valgrind - uses: r-lib/actions/setup-pandoc@v2