fix E501: shorten RSS feed description string to fit line limit #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |