Skip to content

Commit af39ced

Browse files
committed
CI: Install poetry before setting up python to allow caching
1 parent 6770572 commit af39ced

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pytests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939
echo "python_installed=false" >> $GITHUB_OUTPUT
4040
fi
4141
42+
- name: Install Poetry
43+
uses: snok/install-poetry@v1
44+
4245
- name: Set up Python
4346
if: steps.python-check.outputs.python_installed == 'false'
4447
uses: actions/setup-python@v5
4548
with:
4649
python-version: '3.13'
4750
cache: ${{ steps.lockfile.outputs.cache_type }}
4851

49-
- name: Install Poetry
50-
uses: snok/install-poetry@v1
51-
5252
- name: Cache Poetry Dependencies
5353
uses: actions/cache@v4
5454
with:

0 commit comments

Comments
 (0)