Skip to content

Run linting on one machine only; use new uv dev deps format #69

Run linting on one machine only; use new uv dev deps format

Run linting on one machine only; use new uv dev deps format #69

Workflow file for this run

name: Python package
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: 3.12
- name: Install dependencies
run: uv sync --dev
- name: Ruff checks
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check
build:
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --dev
- name: Pyright type check
# Don't fail on errors yet
run: uv run pyright filesender || true
- name: Test CLI help
run: filesender --help