mirror of
https://github.com/agentrhq/authsome.git
synced 2026-09-19 01:34:19 +08:00
9f83458df5
- Replace monolithic test.yml with python-lint, python-test, and ui-lint workflows, each with path-based conditional triggers - Remove publish-rc.yml (RC deploy workflow) - Remove .claude/commands/run-evals.md - Fix stale actions/checkout@v6 references (non-existent version) - Update README: remove local-first framing, provider counts, Telemetry and Security sections, consolidate Docs links into Links section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
840 B
YAML
42 lines
840 B
YAML
name: Python Lint
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'src/**'
|
|
- 'tests/**'
|
|
- 'pyproject.toml'
|
|
- 'uv.lock'
|
|
- '.github/workflows/python-lint.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/**'
|
|
- 'tests/**'
|
|
- 'pyproject.toml'
|
|
- 'uv.lock'
|
|
- '.github/workflows/python-lint.yml'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: astral-sh/setup-uv@v5
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Install dependencies
|
|
run: uv pip install --system -e ".[dev]"
|
|
|
|
- name: Lint with ruff
|
|
run: |
|
|
uv run ruff check src/ tests/
|
|
uv run ruff format --check src/ tests/
|
|
|
|
- name: Type check with ty
|
|
run: uv run ty check src/
|