chore(ci): avoid reinstall pipx and pin poetry version aligned with in api dockerfile (#10426)

This commit is contained in:
Bowen Liang
2024-11-08 17:30:26 +08:00
committed by GitHub
parent 7903ba0297
commit 754bfb181c
7 changed files with 56 additions and 43 deletions

View File

@@ -28,15 +28,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Poetry
uses: abatilo/actions-poetry@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Setup Poetry and Python ${{ matrix.python-version }}
uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.python-version }}
cache: poetry
cache-dependency-path: api/poetry.lock
poetry-lockfile: api/poetry.lock
- name: Check Poetry lockfile
run: |