Skip to content

Commit 0ec5984

Browse files
author
Tom Softreck
committed
update
1 parent b5d489b commit 0ec5984

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
uses: actions/setup-python@v4
3333
with:
3434
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' }}
3537

3638
- name: Debug system info
3739
run: |

0 commit comments

Comments
 (0)