Bump pydantic from 1.10.9 to 2.4.2 #186
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Black | |
on: | |
push: | |
pull_request: | |
merge_group: | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
python -m pip install --upgrade poetry | |
poetry config installer.modern-installation false | |
poetry install | |
- name: Reformat the code with black | |
run: | | |
poetry run black . --check |