Skip to content

Commit 350e8b2

Browse files
committed
setup poetry cache in actions
1 parent b2ee651 commit 350e8b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,16 @@ jobs:
154154
NLTK_DATA: /tmp/nltk_data
155155
steps:
156156
- name: Checkout repository
157-
uses: actions/checkout@v2
157+
uses: actions/checkout@v2
158158
- name: Set up Python
159159
uses: actions/setup-python@v4
160160
with:
161161
python-version: 3.11.x
162+
- name: Poetry cache
163+
uses: actions/cache@v3
164+
with:
165+
path: ~/.cache/pypoetry
166+
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
162167
- name: Install Poetry
163168
uses: snok/install-poetry@v1
164169
with:

0 commit comments

Comments
 (0)