New M3's Tool-Agnostic Highly-Typed Architecture: Chaining-Method API Style #120
This file contains hidden or 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: Pre-commit checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install UV and Python | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "latest" | |
python-version: "3.11" | |
- name: Create virtual environment | |
run: uv venv | |
- name: Install dependencies | |
run: | | |
uv sync --dev | |
uv add pytest==7.4.3 | |
- uses: tox-dev/action-pre-commit-uv@v1 |