mirror of
https://github.com/actions/setup-python.git
synced 2026-06-20 00:32:17 +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
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…
x
Reference in New Issue
Block a user