From 508a2e2463007936c929143cf20111e780d45e77 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Tue, 16 Apr 2024 16:25:06 -0300 Subject: [PATCH] Cache using hash from pyproject.toml instead of setup.py --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f14acf3..837af39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,11 @@ jobs: fetch-depth: 1 - name: pycache - uses: actions/cache@v3 + uses: actions/cache@v4 id: pycache with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} + key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} restore-keys: | ${{ runner.os }}-pip-