CI: add poetry lock file check job and update poetry lock (#3343)
This commit is contained in:
parent
59553a6e1e
commit
213bde61a8
3 changed files with 31 additions and 4 deletions
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -53,3 +53,6 @@ jobs:
|
|||
with:
|
||||
make: checkbundle
|
||||
npm: true
|
||||
|
||||
poetry:
|
||||
uses: ./.github/workflows/poetry.yml
|
||||
|
|
|
|||
24
.github/workflows/poetry.yml
vendored
Normal file
24
.github/workflows/poetry.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: poetry
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
python-version:
|
||||
description: "python version"
|
||||
type: string
|
||||
default: "3.10"
|
||||
|
||||
jobs:
|
||||
poetry:
|
||||
name: run poetry install to check lock file
|
||||
runs-on: "ubuntu-24.04"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: set up python ${{ inputs.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
- name: install poetry
|
||||
run: |
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
poetry install
|
||||
Loading…
Add table
Add a link
Reference in a new issue