Skip to content

Update developer CI actions and package metadata to include Python 3.12 #674

Update developer CI actions and package metadata to include Python 3.12

Update developer CI actions and package metadata to include Python 3.12 #674

Workflow file for this run

name: Pre-commit Hooks
on:
workflow_dispatch:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
pre-commit:
name: Run Pre-commit Hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-python-env
with:
python-version: "3.9"
# This step is necessary so long as we're allowing Pydantic 1 and Pydantic 2 via shimming
- name: Force Pydantic 1
run: hatch run dev-env:pip install "pydantic~=1.10"
- name: Run Pre-commit Hooks
run: hatch run dev-env:pre-commit run --show-diff-on-failure --color=always --all-files