chore(ci): bring back poetry cache to speed up CI jobs (#10347)

This commit is contained in:
Bowen Liang
2024-11-06 13:55:29 +08:00
committed by GitHub
parent d45d90e8ae
commit eafe5a9d8f
5 changed files with 22 additions and 22 deletions

View File

@@ -24,16 +24,16 @@ jobs:
with:
files: api/**
- name: Install Poetry
if: steps.changed-files.outputs.any_changed == 'true'
uses: abatilo/actions-poetry@v3
- name: Set up Python
uses: actions/setup-python@v5
if: steps.changed-files.outputs.any_changed == 'true'
with:
python-version: '3.10'
- name: Install Poetry
if: steps.changed-files.outputs.any_changed == 'true'
uses: abatilo/actions-poetry@v3
- name: Python dependencies
if: steps.changed-files.outputs.any_changed == 'true'
run: poetry install -C api --only lint