Skip to content

chore: update dependencies in doc_indexer/pyproject.toml #650

chore: update dependencies in doc_indexer/pyproject.toml

chore: update dependencies in doc_indexer/pyproject.toml #650

name: pull-lint-doc-indexer
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
branches:
- "main"
- "release-**"
paths:
- "doc_indexer/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Extract Python version
id: python-version
working-directory: ./doc_indexer
run: |
../scripts/shell/extract-python-version.sh
echo "Got PYTHON_VERSION=${PYTHON_VERSION}"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
working-directory: ./doc_indexer
run: poetry install --with test
- name: Run lint
working-directory: ./doc_indexer
run: |
ls
poetry run poe codecheck