From c0b7ec2a7828e7ff4aeb10538e0f6e0c933146cd Mon Sep 17 00:00:00 2001 From: ilai Date: Tue, 24 Oct 2023 15:08:33 +0300 Subject: [PATCH] [CI] Change the cache key Since we don't push the lock file, that doesn't seem to be working --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b874e942..82af3514 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,7 +36,7 @@ jobs: uses: actions/cache@v3 with: path: .venv - key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }} #---------------------------------------------- # install dependencies if cache does not exist #---------------------------------------------- @@ -78,7 +78,7 @@ jobs: uses: actions/cache@v3 with: path: .venv - key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }} #---------------------------------------------- # install dependencies if cache does not exist #----------------------------------------------