Skip to content

fix(deps): update all non-major dependencies (#374) #2561

fix(deps): update all non-major dependencies (#374)

fix(deps): update all non-major dependencies (#374) #2561

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Linting tests
on:
push:
pull_request:
branches: [main]
jobs:
build:
name: Linting Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12', '3.13', '3.14']
fail-fast: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.11.7"
python-version: ${{ matrix.python-version }}
- name: Install project
run: |
# export PIP_ROOT_USER_ACTION=ignore
# pip install --no-cache-dir uv
uv sync --link-mode=copy --dev
- name: Ruff format
run: |
uv run ruff format src/supa tests
- name: Ruff check
run: |
uv run ruff check src/supa tests
- name: Mypy
run: |
# do not run mypy on both directories at the same time
uv run mypy src/supa
uv run mypy tests