Skip to content

Commit eceb095

Browse files
committed
github: Try caching the pipx dirs
1 parent 09179af commit eceb095

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/check_nitypes.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
id: setup-python
2121
with:
2222
python-version: ${{ env.PYTHON_VERSION }}
23+
- name: Cache pipx
24+
uses: actions/cache@v4
25+
with:
26+
path: |
27+
${{ env.PIPX_HOME }}
28+
${{ env.PIPX_BIN_DIR }}
29+
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
2330
- name: Set up Poetry
2431
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
2532
- name: Check for lock changes

0 commit comments

Comments
 (0)