Skip to content

feat: migrate to Pydantic v2 (#656) #2125

feat: migrate to Pydantic v2 (#656)

feat: migrate to Pydantic v2 (#656) #2125

Workflow file for this run

name: lint
on: [push, pull_request]
defaults:
run:
shell: bash -el {0}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- run: ln -s "${CONDA_PREFIX}" .venv # Necessary for pyright.
- uses: pre-commit/[email protected]
with:
extra_args: --all-files --show-diff-on-failure
env:
PRE_COMMIT_USE_MICROMAMBA: 1