mirror of
https://github.com/actions/setup-python.git
synced 2026-07-18 06:19:58 +08:00
Add bootstrap step for packaging tools
Added a step to bootstrap packaging tools before installing dependencies.
This commit is contained in:
parent
3c92d177a0
commit
98755c42c9
1 changed files with 4 additions and 1 deletions
5
.github/workflows/e2e-cache.yml
vendored
5
.github/workflows/e2e-cache.yml
vendored
|
|
@ -147,7 +147,6 @@ jobs:
|
|||
- name: Install poetry
|
||||
run: |
|
||||
pipx install poetry
|
||||
pipx inject poetry "packaging<25"
|
||||
- name: Init pyproject.toml
|
||||
run: mv ./__tests__/data/pyproject.toml .
|
||||
- name: Setup Python
|
||||
|
|
@ -155,6 +154,10 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'poetry'
|
||||
- name: Bootstrap packaging
|
||||
run: |
|
||||
python -m ensurepip --upgrade
|
||||
python -m pip install --upgrade pip setuptools wheel packaging
|
||||
- name: Install dependencies
|
||||
run: poetry install --no-root
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue