From 767392a3bbfcd49ed030abe6285c03d8f6c84a48 Mon Sep 17 00:00:00 2001 From: Adrian Rumpold Date: Wed, 28 Jul 2021 08:09:33 +0200 Subject: [PATCH] fix(CI): Fix cache file pattern --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 0e97ae9..18b3aaf 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,9 +36,9 @@ jobs: # A list of files, directories, and wildcard patterns to cache and restore path: .venv # An explicit key for restoring and saving the cache - key: venv-cache-${{hashfiles("poetry.lock")}} + key: venv-cache-${{hashFiles('**/poetry.lock')}} restore-keys: | - venv-cache-${{hashfiles("poetry.lock")}} + venv-cache-${{hashFiles('**/poetry.lock')}} venv-cache- - name: Lint with flake8 run: |