We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a469d1b commit 4b486b0Copy full SHA for 4b486b0
.github/workflows/main.yml
@@ -13,6 +13,8 @@ jobs:
13
- uses: actions/checkout@v4
14
- name: Set up Python
15
uses: actions/setup-python@v5
16
+ with:
17
+ cache: "pip"
18
- name: Install pypa/build
19
run: >-
20
python3 -m pip install --user --upgrade build twine pkginfo poetry
@@ -72,7 +74,15 @@ jobs:
72
74
run: |
73
75
python -m poetry config virtualenvs.in-project true
76
77
+ - name: Cache the virtualenv
78
+ id: poetry-dependencies-cache
79
+ uses: actions/cache@v3
80
81
+ path: ./.venv
82
+ key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
83
+
84
- name: Install dev dependencies
85
+ if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
86
87
python -m poetry install --only=dev
88
0 commit comments