fix: poetry installation in CI jobs (#9336)
This commit is contained in:
parent
fa47f0c707
commit
a8134a49c4
3 changed files with 7 additions and 7 deletions
6
.github/workflows/style.yml
vendored
6
.github/workflows/style.yml
vendored
|
|
@ -24,15 +24,15 @@ jobs:
|
|||
with:
|
||||
files: api/**
|
||||
|
||||
- name: Install Poetry
|
||||
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
|
||||
uses: abatilo/actions-poetry@v3
|
||||
|
||||
- name: Python dependencies
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
run: poetry install -C api --only lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue