From 2dd8b32b1201be935d470124a508bc9f2211f3f0 Mon Sep 17 00:00:00 2001 From: John Bradley Date: Mon, 19 Aug 2024 11:55:09 -0400 Subject: [PATCH] Use build in pip cache and explicit hf cache --- .github/workflows/run-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fd17ec5..f8974b4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,10 +12,11 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' - uses: actions/cache@v4 with: - path: ~/.cache - key: ${{ runner.os }}-cache-${{ hashFiles('**/pyproject.toml') }} + path: ~/.cache/huggingface + key: ${{ runner.os }}-bioclip-files }} - name: Install dependencies run: | python -m pip install --upgrade pip