Skip to content

fix E501: shorten RSS feed description string to fit line limit #42

fix E501: shorten RSS feed description string to fit line limit

fix E501: shorten RSS feed description string to fit line limit #42

name: Test and Lint
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'Dockerfile'
- 'app/**'
- 'tests/**'
- 'frontend/**'
- 'pyproject.toml'
- 'uv.lock'
pull_request:
branches:
- main
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync --frozen --extra dev
- name: Lint
run: |
uv run ruff check app/ tests/
uv run ruff format --check app/ tests/ || echo "::warning::Code formatting issues detected"
- name: Test
run: uv run pytest -v
build-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install frontend deps
working-directory: frontend
run: bun install --frozen-lockfile
- name: Type-check and build
working-directory: frontend
run: bun run build