Skip to content

Make sure checkout also fetches tags #39

Make sure checkout also fetches tags

Make sure checkout also fetches tags #39

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 .