Skip to content

Commit 5c97dad

Browse files
committed
Use the officially recommended way to install Poetry in CI
1 parent bf91533 commit 5c97dad

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12+
- run: pipx install poetry
1213
- uses: actions/setup-python@v4
1314
with:
1415
python-version-file: pyproject.toml
1516
cache: 'poetry'
16-
- uses: Gr1n/setup-poetry@v8
17-
with:
18-
poetry-version: '1.1.12'
1917
- run: pip install tox
2018
- run: tox -e lint,py311-dj42
2119
test_compatibility:
@@ -44,13 +42,11 @@ jobs:
4442
# toxenv: py312-dj41
4543
steps:
4644
- uses: actions/checkout@v3
45+
- run: pipx install poetry
4746
- uses: actions/setup-python@v4
4847
with:
4948
python-version: ${{ matrix.python }}
5049
allow-prereleases: true
51-
- uses: Gr1n/setup-poetry@v8
52-
with:
53-
poetry-version: '1.1.12'
5450
- run: pip install tox
5551
- run: tox -q
5652
env:
@@ -72,13 +68,11 @@ jobs:
7268
- if: steps.node-cache.outputs.cache-hit != 'true'
7369
run: npm ci --no-audit
7470
- run: npm run build
71+
- run: pipx install poetry
7572
- uses: actions/setup-python@v4
7673
with:
7774
python-version-file: pyproject.toml
7875
cache: 'poetry'
79-
- uses: Gr1n/setup-poetry@v8
80-
with:
81-
poetry-version: '1.1.12'
8276
- run: poetry install
8377
- run: poetry run django-admin runserver --settings=tests.settings.production --pythonpath=. &
8478
# Docs website build.

0 commit comments

Comments
 (0)