Skip to content

Rollback Pydantic version from V2 to V1 #1704

Rollback Pydantic version from V2 to V1

Rollback Pydantic version from V2 to V1 #1704

Workflow file for this run

name: Prospector Linting
on:
push:
branches:
- develop
pull_request:
jobs:
prospector:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Cache Poetry dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
- name: Run Prospector
run: poetry run prospector