Skip to content

Merge pull request #9 from bsweger/bsweger/switch-to-uv #30

Merge pull request #9 from bsweger/bsweger/switch-to-uv

Merge pull request #9 from bsweger/bsweger/switch-to-uv #30

name: run-code-checks
on:
push:
pull_request:
branches: [ $default-branch ]
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- name: checkout code 🧳
uses: actions/checkout@v4
- name: install uv 🌞
uses: astral-sh/setup-uv@v3
- name: set up Python 🐍
uses: actions/setup-python@v5
- name: install project 🚀
run: uv sync --dev
- name: lint 🧹
run: uv run ruff check .
- name: run tests 🧪
run: uv run pytest
- name: type check ⌨️
run: uv run mypy .