From 5a0cec440911fd873a1be08f60bf3a94dbca87f6 Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Tue, 6 Feb 2024 12:59:14 +0100 Subject: [PATCH] fix(workflows): cache `@vscode/ripgrep` bin in test job (#10471) --- .github/workflows/testing.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d2f2a0723697..4898551b2637 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -66,6 +66,12 @@ jobs: node-version-file: ".nvmrc" cache: yarn + - name: Cache @vscode/ripgrep bin + uses: actions/cache@v3 + with: + key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }} + path: node_modules/@vscode/ripgrep/bin/ + - name: Install all yarn packages run: yarn --frozen-lockfile env: