We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5d489b commit 0ec5984Copy full SHA for 0ec5984
.github/workflows/tests.yml
@@ -32,6 +32,8 @@ jobs:
32
uses: actions/setup-python@v4
33
with:
34
python-version: ${{ matrix.python-version }}
35
+ # Only enable poetry cache if lock file exists
36
+ cache: ${{ fromJSON('{"poetry": "**/poetry.lock"}')[github.workspace + '/poetry.lock'] ? 'poetry' : 'pip' }}
37
38
- name: Debug system info
39
run: |
0 commit comments